ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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
To associate a control with a tab pane:
  • Method 1: Position the control on the desired tab pane. The control is automatically associated with the current tab.
  • Method 2:
    • Open the context menu of the control to use.
    • Select the option "Associate ... to a tab"..
    • In the window that appears, select the tab associated with the control.
    • Validate.
Remarks:
  • To associate a control with a tab without positioning it in the tab pane, choose the second method.
  • WINDEV A control can be associated with several tabs. Simply use the second method and select all the desired tabs.
  • WINDEV This help page presents static tabs 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 the "Associate ... with a tab" option from the control context menu.
  2. Select "None".
WLanguage functions and properties specific to the management of tabs

Name of the Tab control associated with a control

To get the name of the Tab control associated with a control, use ControlTab.
Example:
// EDT_Name1 is on the TAB_TabInfo control
Info(ControlTab(EDT_Name1))     // Returns "TAB_TabInfo"
WINDEV

Tab panes associated with a control

To get and change the tab pane(s) associated with a control, use the Pane property.
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