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
..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>: Character string (with or without quotes)
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>: Character string (with or without quotes)
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 panes include an addition cross, the "Pane creation" process is run when the user clicks this cross. If this process does not stop the creation ("RESULT False" statement or ReturnToCapture), a new default pane is created.
  • The caption and the internal window used by default for the new pane can be defined:
  • If the panes do not include any addition cross, the "New" AAF (Automatic Application Feature) found in the popup menu of the pane is disabled.
Minimum required version
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment