PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
  • 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
..DynamicTab 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 the addition, the deletion and the move of panes.
Note: This property replaces ..TabMDI.
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>: Character string (with or without quotes)
Name of the Tab control to use.

Modifying the type of a Tab control Hide the details

<Tab Control>..DynamicTab = <Type of Tab Control>
<Tab Control>: Character string (with or without quotes)
Name of the 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 ..DynamicTab 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 required version
  • Version 20
This page is also available for…
Comments
Idendificar a tab atual e executar um comando
PROCEDURE TabFiltro()

IF TAB_Filtro = 1 //primeira tab
ExecutaFiltro(1)
ELSE IF TAB_Filtro = 2 //segunda tab
ExecutaFiltro(2)
ELSE IF TAB_Filtro = 3 //terceira tab
ExecutaFiltro(3)
END
BOLLER
May 09 2019