PC SOFT

WINDEV的在线文档

  • Control accessible via the [Tab] key
  • Limits
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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本地访问

..顺序号 is used to find out and modify the position of a control in the navigation order of a window.

Notes:

  • The navigation order of the controls in a window describes the order in which the controls take focus when the user presses the [Tab] key.
  • To find out the navigation order of all the controls found in a window, select "Windows .. Tab order .. Edit".To find out the tab order of all the controls found in a window, on the "窗口" pane, in the "顺序" group, expand "浏览" and select "Edit".
  • To modify the navigation order, select "Windows .. Tab order .. Edit" and use the arrows found on the right.To modify the navigation order, on the "窗口" pane, in the "顺序" group, expand "浏览" and select "Edit". Use the arrows found on the right.
例子
// Tab order of "EDT_CustomerName" control
ResNavigationEDT_CustomerName..顺序号

语法

Finding out the position of a control in the navigation order 隐藏详细信息

<Result> = <Control Name>..顺序号
<Result>: Integer
  • Position of the specified control in the navigation order,
  • -1 if the specified control cannot be accessed via the [Tab] key.
<Control Name>: Character string (with or without quotes)
Name of the control to use.

Modifying the position of a control in the navigation order 隐藏详细信息

<Control Name>..顺序号 = <New Position>
<Control Name>: Character string (with or without quotes)
Name of the control to use.
<New Position>: Integer
Position of the specified control in the navigation order. This position must be included between 1 (first control) and the number of controls in the window. If the new position corresponds to a position that is already assigned, the positions of the following controls are moved accordingly.

注意

Control accessible via the [Tab] key

In order for a control to be accessible by the [Tabulation] key, check "Accessible by TAB" in the "GUI" tab of the control description.

By default, "Accessible via TAB" is checked when the control is created.

All the controls accessible via the [Tabulation] key are automatically included in the navigation order of the window. By default, the navigation order corresponds to the creation order of the controls in the window.

Limits

..顺序号 cannot be used on:
  • a window,
  • a Static control, a shape control or an image control,
  • an option in a radio button or check box,
  • a row in a list box, listview, combo box or table,
  • a table cell,
  • a table column,
  • a menu,
  • a tab pane,
  • a group of controls,
  • a treeview element.