IHTMLOptionElement::get_defaultSelectedIHTMLOptionElement::get_defaultSelected*
*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.

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

Up Top of Page


IHTMLOptionElement::put_defaultSelected


HRESULT put_defaultSelected(
    VARIANT_BOOL v 
);

Specifies whether the option is selected by default.

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


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.