PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Associating a control with a tab pane
  • Not associating a control with a tab pane
  • WLanguage functions and properties specific to the management of tabs
  • Name of the Tab control associated with a control
  • Tab panes associated with a control
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
Associating a control with a tab pane
Associating a control with a tab pane
To associate a control with a tab pane:
  • Method 1: Position the control on the requested tab pane. The control is automatically associated with the current tab.
  • Method 2:
    • Open the context menu of the control to use.
    • Select "Associate with a tab".
    • In the window that is displayed, select the tab pane associated with the control.
    • Validate.
Remarks:
  • If the control must be associated with a tab pane without being positioned on the tab pane, choose the second method.
  • Versions 19 and later
    WINDEV A control can be associated with several tab panes. All you have to do is use the second method and select all the requested tab panes in the window.
    New in version 19
    WINDEV A control can be associated with several tab panes. All you have to do is use the second method and select all the requested tab panes in the window.
    WINDEV A control can be associated with several tab panes. All you have to do is use the second method and select all the requested tab panes in the window.
  • WINDEV This help page presents the static tab panes only.
Not associating a control with a tab pane
A control positioned on a tab pane is not necessarily associated with this tab pane. This is the case if the control must appear on the tab regardless of the selected tab pane.
To not associate a control with a tab:
  1. Select "Associate with a tab" from the popup menu of the control.
  2. Select "None".
WLanguage functions and properties specific to the management of tabs

Name of the Tab control associated with a control

To find out the name of the Tab control associated to a field, use function ControlTab.
Example:
// SAI_Nom1 est sur le champ ONG_OngletInfo
Info(ControlTab(SAI_Nom1))       // Renvoie "ONG_OngletInfo"
Versions 19 and later
WINDEV

Tab panes associated with a control

To know and modify the tab pane(s) associated with a field, use the Property Pane.
Example:
// Associer le bouton Valider aux volets 1, 2 et 4
BTN_Valider.Volet = "1,2,4"
 
// Connaître les volets associés à un bouton
IF BTN_Valider.Volet [=] "2" THEN Info("Le champ est associé au volet 2")
New in version 19
WINDEV

Tab panes associated with a control

To know and modify the tab pane(s) associated with a field, use the Property Pane.
Example:
// Associer le bouton Valider aux volets 1, 2 et 4
BTN_Valider.Volet = "1,2,4"
 
// Connaître les volets associés à un bouton
IF BTN_Valider.Volet [=] "2" THEN Info("Le champ est associé au volet 2")
WINDEV

Tab panes associated with a control

To know and modify the tab pane(s) associated with a field, use the Property Pane.
Example:
// Associer le bouton Valider aux volets 1, 2 et 4
BTN_Valider.Volet = "1,2,4"
 
// Connaître les volets associés à un bouton
IF BTN_Valider.Volet [=] "2" THEN Info("Le champ est associé au volet 2")
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment