ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • MDI Tab control
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Warning
From version 20 (57), it is recommended to use the DynamicTab property.
The property TabMDI property allows you to:
  • Get the type of a Tab control (simple tab or dynamic tab - MDI).
  • Change the type of a Tab control (simple tab or dynamic tab - MDI).
Reminder A Dynamic Tab control is a tab control that supports adding, deleting and moving panes.
Example
// Vérifie si l'onglet est un onglet MDI
IF ONG_Onglet1.OngletMDI = True THEN
	// Fermeture de tous les volets
	TabCloseAll(ONG_Onglet1)
END
Syntax

Finding out whether a Tab control is an MDI tab (dynamic) Hide the details

<Result> = <Tab control>.TabMDI
<Result>: Boolean
  • True if the Tab Control is an MDI (dynamic) tab,
  • False if the Tab control is a simple tab.
<Tab control>: Control name
Name of the Tab control to be used.

Changing the type of a Tab control Hide the details

<Tab control>.TabMDI = <Type of Tab control>
<Tab control>: Control name
Name of the Tab control to be used.
<Type of Tab control>: Boolean
  • True to get an MDI Tab control (dynamic),
  • False to get a simple Tab control.
Remarks

MDI Tab control

If the TabMDI is set to True:
  • the TabXXX functions can be called on the control.
  • the ][ operator must called with the tab alias.
  • the end user can:
    • delete tabs if the WithClosingButton property is set to True.
    • add tabs if the WithNewButton property is set to True.
    • change the order of the tabs with the drag-and-drop feature.
    • undock panes if the UndockablePane property is set to True.
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help