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
  • Dynamic Tab control
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The DynamicTab property is used to:
  • Find out the type of a Tab control (static tab or dynamic tab).
  • Modify the type of a Tab control (static tab or dynamic tab).
Reminder: A Dynamic Tab control is a Tab control that supports adding, deleting and moving panes.
Note: This property replaces TabMDI.
Example
// Vérifie si l'onglet est un onglet dynamique
IF ONG_Onglet1.OngletDynamique = True THEN
	// Fermeture de tous les volets
	TabCloseAll(ONG_Onglet1)
END
Syntax

Finding out whether a Tab control is a dynamic tab Hide the details

<Result> = <Tab control>.DynamicTab
<Result>: Boolean
  • True if the Tab control is a dynamic tab,
  • False if the Tab control is a static 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>.DynamicTab = <Type of Tab control>
<Tab control>: Control name
Name of the Tab control to be used.
<Type of Tab control>: Boolean
  • True to get a Dynamic Tab control,
  • False to get a static Tab control.
Remarks

Dynamic Tab control

If the DynamicTab property 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: 09/21/2024

Send a report | Local help