AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The WithClosingButton property is used to:
  • Determine whether all the tabs of a Dynamic Tab control have a Close button.
  • Show a Close button in all the tabs of a Dynamic Tab control.
Reminder: The Close button (X) allows users to close the tabs.
Example
TAB_DynamicTab.WithClosingButton = True
Syntax

Determining whether all the tabs of a Dynamic Tab control have a Close button Hide the details

<Result> = <Tab control>.WithClosingButton
<Result>: Boolean
  • True if all the tabs of a Dynamic Tab control have a Close button (X),
  • False if the tabs of a Dynamic Tab control do not have a Close button (X).
<Tab control>: Control name
Name of the Tab control to be used.

Showing a Close button in all the tabs of a Dynamic Tab control Hide the details

<Tab control>.WithClosingButton = <Close button>
<Tab control>: Control name
Name of the Tab control to be used.
<Close button>: Boolean
  • True if the tabs of a Dynamic Tab control should show a Close button (X),
  • False if the tabs of a Dynamic Tab control should not show a Close button (X).
Remarks
  • The "Close a tab" event is executed when the user clicks the Close button (if any). The tab is closed if this event does not prevent the user from closing it (with the "RESULT False" statement or SetFocusAndReturnToUserInput).
  • If the tabs do not have a Close button (X), the following Automatic Application Features (AAFs) are disabled from the context menu of the tabs:
    • Close,
    • Close other tabs,
    • Close tabs to the right,
    • Close tabs to the left.
  • The "X" icon cannot be removed or displayed on a single tab: either all or none of the tabs display an X icon.
Versión mínima requerida
  • Versión 20
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 10/11/2022

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