AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
  • MDI Tab control
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Advertencia
A partir de la versión 20 (57), it is recommended to use the DynamicTab property.
The property TabMDI property allows you to:
  • Get the type of a Tab control (simple tab or dynamic tab - MDI).
  • Change the type of a Tab control (simple tab or dynamic tab - MDI).
Reminder A Dynamic Tab control is a tab control that supports adding, deleting and moving panes.
Ejemplo
// Checks whether the tab is an MDI tab
IF TAB_Tab1.TabMDI = True THEN
	// Close all tabs
	TabCloseAll(TAB_Tab1)
END
Sintaxis

Finding out whether a Tab control is an MDI tab (dynamic) Ocultar los detalles

<Result> = <Tab control>.TabMDI
<Result>: Boolean
  • True if the Tab Control is an MDI (dynamic) tab,
  • False if the Tab control is a simple tab.
<Tab control>: Control name
Name of the Tab control to be used.

Changing the type of a Tab control Ocultar los detalles

<Tab control>.TabMDI = <Type of Tab control>
<Tab control>: Control name
Name of the Tab control to be used.
<Type of Tab control>: Boolean
  • True to get an MDI Tab control (dynamic),
  • False to get a simple Tab control.
Observaciones

MDI Tab control

If the TabMDI 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.
Versión mínima requerida
  • Versión 20
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 10/05/2025

Señalar un error o enviar una sugerencia | Ayuda local