ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Dynamic Tab control
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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 allows adding, deleting and moving panes.
Remark: This property replaces the TabMDI property.
Example
// Checks whether the tab is a dynamic tab
IF TAB_Tab1.DynamicTab = True THEN
// Close all the panes
TabCloseAll(TAB_Tab1)
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 on the tab must called with the alias of the pane.
  • the end user can:
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/03/2023

Send a report | Local help