|
|
|
|
|
- Overview
- How to?
- Finding out the tab order
- Modifying the tab order
- Notes
- Defining the tab order automatically
- Defining the tab order according to the selection
- Finding out the tab order number associated with a control through programming
Tab order in a window, a page, etc.
The tab order of the window controls or page controls describes the order in which the controls receive focus in a window when the user presses the [Tab] key. By default, the tab order corresponds to the order in which the controls were created. The tab order is taken into account for the controls managed by the [Tabulation] key. You have the ability to define whether a control is managed by the [Tabulation] key: - in the "UI" tab of the description window of each window control.
Finding out the tab order To find out the tab order: - press F5,
- on the "Display" tab, in the "Show (all controls)" group, click "Tab order".
A number appears on each control accessible by the [Tabulation] key in the window or in the page.
Remark: If the control belongs to a container control (cell, looper, etc.), the number has the following format: <Container tabulation number>.<Tabulation number in container> Modifying the tab order To modify the tab order in the current window or in the current page: - Select:
- in WINDEV or WINDEV Mobile: on the "Window" tab, in the "Order" group, expand "Tab order" and select "Edit".
- The list of controls found in the window or in the page is displayed, classified according to the current tab order.
- Use the arrows on the right to organize the list of controls according to the desired tab order.
Remarks: - If "Define the tab order automatically each time the window is modified" is checked, the tab order of the controls will be automatically recalculated:
- when adding a control to the window,
- when moving a control in the window.
The tabulation order is always correct regardless of the modification performed in the window.
Defining the tab order automatically To automatically define the tab order according to the position of the controls in the window or in the page, use: - for the windows: on the "Window" tab, in the "Order" group, expand "Tab order" and select "Define automatically".
Defining the tab order according to the selection You have the ability to define the tab order according to the selection order of the controls in the window or in the page: - Select the controls in the window according to the requested order.
- Select:
- for the windows: on the "Window" tab, in the "Order" group, expand "Tab order" and select "Define from selection".
Finding out the tab order number associated with a control through programming To programmatically get and change the position of a control in the tab order, use the TABOrder property.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|