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 CaptionIfNew property is used to get and change the caption of a pane opened by the end user in a dynamic Tab control.
Example
TAB_DynTab.WindowIfNew = "IW_Document"
TAB_DynTab.CaptionIfNew = "New tab"
Syntax

Finding out the caption of the new dynamic pane Hide the details

<Result> = <Tab control>.CaptionIfNew
<Result>: Character string
Caption used when a new pane is created in a dynamic tab.
<Tab control>: Control name
Name of the Tab control to be used.

Modifying the caption of the new dynamic pane Hide the details

<Tab control>.CaptionIfNew = <New caption>
<Tab control>: Control name
Name of the Tab control to be used.
<New caption>: Character string
New caption used when creating a new pane in a dynamic tab.
Remarks
  • The name of the internal window that will be used for the new tab pane is defined:
    • in the control description window ("Details" tab).
    • programmatically with the WindowIfNew property.
  • If the internal window expects parameters, in the "Creating a pane" event, use TabOpen to define the caption.
Versión mínima requerida
  • Versión 20
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

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