Specifies the preceding dialog element in the (new) control sequence. The control sequence determines the order in which dialog elements receive the focus on repeated pressing of the TAB key (or arrow keys, for controls with the same group ID). It also determines which dialog element gets the focus on input of a mnemonic corresponding to a dialog element which cannot receive the focus itself (for example, a text-constant or group frame). By default, the FOLLOWS attribute is based on the SUCCESSOR chain. You can use this attribute to move a dialog element from its default position. Assigning a value of NULL-HANDLE moves the dialog element to the end of the control sequence, whereas assigning the handle of the parent dialog itself moves the dialog to the front of the control sequence. Assigning the handle of the control itself has the effect of removing the control from the control sequence such that it can no longer be reached via the TAB key.
When applied to dialogs, the FOLLOWS attribute returns the last dialog element in the control sequence. This enables complete enumeration of the control sequence in reverse order.
Applies to | ActiveX control, bitmap control, canvas control, control box control, date/time picker control, dialog (all types), dialog bar control, edit area control, group frame control, input field control, list box control, list view control, OLE container control, push button control, progress bar control, radio button control, scroll bar control, selection box control, slider control, spin control, status bar control, tab control, table control, text constant control, toggle button control, tool bar control, tree view control. |
---|---|
Data Type | HANDLE |
Default Value | NULL-HANDLE |
Possible Values | NULL-HANDLE / handle value of the desired predecessor in the control sequence. |