PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 Tab control to use.

Modifying the caption of the new dynamic pane Hide the details

<Tab control>.CaptionIfNew = <New caption>
<Tab control>: Control name
Name of Tab control to use.
<New caption>: Character string (with quotes)
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).
    • in the code 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