ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The WindowIfNew property gets and sets 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 caption of the new pane is defined:
    • in the control description window ("Details" tab).
    • programmatically with the CaptionIfNew property.
  • If the internal window expects parameters, in the "Create a tab" 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

Last update: 09/25/2024

Send a report | Local help