PC SOFT

AYUDA EN LÍNEA
DE WINDEV, WEBDEV Y WINDEV MOBILE


  • Dynamic Tab control
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Otros
Procedimientos almacenados
DynamicTab (Property)
 
..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.
Ejemplo
// Checks whether the tab is a dynamic tab
IF TAB_Tab1..DynamicTab = True THEN
// Close all the panes
TabCloseAll(TAB_Tab1)
END
Sintaxis

Finding out whether a Tab control is a dynamic tab Ocultar los detalles

<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 Ocultar los detalles

<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.
Observaciones

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:
Versión mínima requerida
  • Versión 20
Esta página también está disponible para…
Comentarios
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
09 05 2019