ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Your version: 01F250083H (WINDEV 25)

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/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 version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/30/2020

Send a report | Local help