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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The WindowIfNew property is used to get and change the name of the internal window to be opened if the end user opens a new tab in a dynamic Tab control.
Example
TAB_DynTab.WindowIfNew = "IW_Document"
TAB_DynTab.CaptionIfNew = "New tab"
Syntax

Finding out the name of the internal window used for a new dynamic tab Hide the details

<Result> = <Tab control>.WindowIfNew
<Result>: Character string
Name of the internal window used when creating a new pane in a dynamic tab.
<Tab control>: Control name
Name of the Tab control to be used.

Modifying the name of the internal window used for a new dynamic tab Hide the details

<Tab control>.WindowIfNew = <New internal window>
<Tab control>: Control name
Name of the Tab control to be used.
<New internal window>: Character string
Name of the internal window that will be used when creating a new pane in a dynamic tab.
Remarks
  • The text of the new tab can be set:
    • in the control description window ("Details" tab).
    • programmatically with the CaptionIfNew property.
  • If the internal window expects parameters, in the "Creating a pane" event, use TabOpen to define the internal window to open.
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment