Contents Index Topic Contents | ||
Previous Topic: IHTMLOptionElement::put_defaultSelected Next Topic: IHTMLOptionElement::put_index |
IHTMLOptionElement::get_defaultSelected
HRESULT get_defaultSelected( VARIANT_BOOL *p );Determines whether the option is selected by default.
- Returns S_OK if successful, or an error value otherwise.
- v
- Address of a variable that receives TRUE if the option is selected by default, or FALSE if not.
This value can be changed programmatically but has no effect on the appearance nor on how forms are submitted.
The default value for this property is TRUE.
See also put_defaultSelected
IHTMLOptionElement::put_defaultSelected
HRESULT put_defaultSelected( VARIANT_BOOL v );Specifies whether the option is selected by default.
- Returns S_OK if successful, or an error value otherwise.
- v
- Selection flag. TRUE selects the option; FALSE deselects it.
This value can be changed programmatically but has no effect on the appearance nor on how forms are submitted.
The default value for this property is TRUE.
See also get_defaultSelected
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.