ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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.
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help