|
|
|
|
|
DynamicTab (Property) In french: OngletDynamique
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.
IF ONG_Onglet1.OngletDynamique = True THEN
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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|