Contents Index Topic Contents | ||
Previous Topic: IHTMLControlElement::put_tabIndex Next Topic: IHTMLControlElement::focus |
IHTMLControlElement::get_tabIndex
HRESULT get_tabIndex( short *p );Retrieves the tab index for the object.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a short integer variable that receives the tab index.
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.
See also put_tabIndex
IHTMLControlElement::put_tabIndex
HRESULT put_tabIndex( short v );Sets the tab index for the object. The tab index determines the tab selection order.
- Returns S_OK if successful, or an error value otherwise.
- v
- Short integer value specifying the tab index.
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.
See also get_tabIndex
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.