PC SOFT

WINDEV的在线文档

  • 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
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

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.
  • 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.
    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 avoid associating 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 控件的选项卡.

Example:

// EDT_Name1 is on the TAB_TabInfo control
信息控件的选项卡EDT_Name1))// Returns "TAB_TabInfo"

19版本和更高版本
WinDev

Tab panes associated with a control

To find out and modify the tab panes associated with a control, use ..窗格.

Example:

// Associate the Validate button to panes 1, 2 and 4
BTN_Validate..窗格="1,2,4"

// Find out the panes associated with a button
如果BTN_Validate..窗格开始于】"2",那么信息"The control is associated with pane 2"
19新版本
WinDev

Tab panes associated with a control

To find out and modify the tab panes associated with a control, use ..窗格.

Example:

// Associate the Validate button to panes 1, 2 and 4
BTN_Validate..窗格="1,2,4"

// Find out the panes associated with a button
如果BTN_Validate..窗格开始于】"2",那么信息"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 ..窗格.

Example:

// Associate the Validate button to panes 1, 2 and 4
BTN_Validate..窗格="1,2,4"

// Find out the panes associated with a button
如果BTN_Validate..窗格开始于】"2",那么信息"The control is associated with pane 2"