PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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:
    • Display the popup 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.
Notes:
  • 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 with a control, use ControlTab.
Example:
// EDT_Name1 is on the TAB_TabInfo control
Info(ControlTab(EDT_Name1))     // Returns "TAB_TabInfo"
Versions 19 and later
WINDEV

Tab panes associated with a control

To find out and modify the tab panes associated with a control, use ..Pane.
Example:
// Associate the Validate button to panes 1, 2 and 4
BTN_Validate..Pane = "1,2,4"

// Find out the panes associated with a button
IF BTN_Validate..Pane [=] "2" THEN Info("The control is associated with pane 2")
New in version 19
WINDEV

Tab panes associated with a control

To find out and modify the tab panes associated with a control, use ..Pane.
Example:
// Associate the Validate button to panes 1, 2 and 4
BTN_Validate..Pane = "1,2,4"

// Find out the panes associated with a button
IF BTN_Validate..Pane [=] "2" THEN Info("The control is associated with pane 2")
WINDEV

Tab panes associated with a control

To find out and modify the tab panes associated with a control, use ..Pane.
Example:
// Associate the Validate button to panes 1, 2 and 4
BTN_Validate..Pane = "1,2,4"

// Find out the panes associated with a button
IF BTN_Validate..Pane [=] "2" THEN Info("The control is associated with pane 2")
Minimum required version
  • Version 9
This page is also available for…
Comments
Example Control Tab Wizard
Working with Screen TABs and Wizards

a) switch between tab via code
b) condition the change from one tab to another
c) make a screen wizard only with a button
d) have a local variable to know the current tab that is on the screen

DOWNLOAD
https://repository.windev.com/publish.awp?file_id=281474976710748;example-alter-tab
BOLLER
Jul. 27 2018