PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
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
..CaptionIfNew is used to find out and modify the caption of the new 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 creating a new pane in a dynamic tab.
<Tab control>: Character string (with or without quotes)
Name of Tab control to use.

Modifying the caption of the new dynamic pane Hide the details

<Tab control>..CaptionIfNew = <New caption>
<Tab control>: Character string (with or without quotes)
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 description window of control ("Details" tab).
    • by programming with ..WindowIfNew.
  • If the internal window expects parameters, in the "Creating a pane" event, use TabOpen to define the caption.
Minimum required version
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment