PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
..WithNewButton is used to:
  • Find out whether a dynamic Tab control proposes an addition cross.
  • Configure a dynamic Tab control so that it proposes (or not) an addition cross.
Reminder: The addition cross allows the end user to open a new tab.
Example
TAB_DynTab..WithNewButton = True
TAB_DynTab..WindowIfNew = "IW_Document"
TAB_DynTab..CaptionIfNew = "New tab"
Syntax

Find out whether a dynamic Tab control proposes an addition cross Hide the details

<Result> = <Tab control>..WithNewButton
<Result>: Boolean
  • True if all panes of a dynamic Tab control include an addition cross,
  • False if the panes of a dynamic Tab control do not include an addition cross.
<Tab control>: Control name
Name of Tab control to use.

Configure a dynamic Tab control so that it proposes (or not) an addition cross Hide the details

<Tab control>..WithNewButton = <Addition Cross>
<Tab control>: Control name
Name of Tab control to use.
<Addition Cross>: Boolean
  • True if the panes of a dynamic Tab control must display an addition cross,
  • False if the panes of a dynamic Tab control must not display an addition cross.
Remarks
  • If the pane has a "+" sign, the "Creating a pane" event is run when the user clicks on it. If this event does not stop the creation ("RESULT False" statement or ReturnToCapture), a new pane is created by default.
  • The caption and the internal window used by default for the new pane can be defined:
  • If the panes do not include any add cross, the "New" AAF (Automatic Application Feature) is disabled in the pane popup menu.
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment