Retrieves the tabIndex property of the element.
Syntax
HRESULT get_tabIndex( short *p );
Parameters
- p
- Address of a short pointer that contains the tabIndex property.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
Tab selection order is determined by the value of the tabIndex property as follows:
- All elements with tabIndex > 0 are selected in increasing tabIndex order, or in source order for duplicate tabIndex values.
- All elements with tabIndex = 0, or without tabIndex set, are selected next, in source order if more than one.
- Elements with tabIndex = -1 are omitted from tab selection.
Sets the tabIndex property of the element.
Syntax
HRESULT put_tabIndex( short v );
Parameters
- v
- Short variable that contains the tabIndex property.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
Tab selection order is determined by the value of the tabIndex property as follows:
- All elements with tabIndex > 0 are selected in increasing tabIndex order, or in source order for duplicate tabIndex values.
- All elements with tabIndex = 0, or without tabIndex set, are selected next, in source order if more than one.
- Elements with tabIndex = -1 are omitted from tab selection.