PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • Dynamic Tab control
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The Property Dynamic Tab allows you 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 the addition, the deletion and the move of panes.
Remark: This property replaces TabMDI.
Example
// Checks whether the tab is a dynamic tab
IF ONG_Tab1.TabDynamics = 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 Tab control to use.

Modifying the type of a Tab control Hide the details

<Tab control>.DynamicTab = <Type of Tab control>
<Tab control>: Control name
Name of Tab control to use.
<Type of Tab control>: Boolean
  • True in order for theTab control to be a dynamic Tab control,
  • False in order for the Tab control to be a static Tab control.
Remarks

Dynamic Tab control

If the Property DynamicTab is 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