IHTMLOptionButtonElement::get_defaultCheckedIHTMLOptionButtonElement::get_defaultChecked*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLOptionButtonElement::put_defaultChecked
*Next Topic: IHTMLOptionButtonElement::put_onchange

IHTMLOptionButtonElement::get_defaultChecked


HRESULT get_defaultChecked(
    VARIANT_BOOL *p 
);

Determines whether the check box or radio button is selected by default.

p
Address of a variable that receives TRUE if the button is selected by default, or FALSE otherwise.

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_defaultChecked

Up Top of Page


IHTMLOptionButtonElement::put_defaultChecked


HRESULT put_defaultChecked(
    VARIANT_BOOL v 
);

Determines whether the check box or radio button is selected by default.

v
Selection flag. Set this value to TRUE to select the button, or FALSE otherwise.

This value can be changed programmatically but has no effect on the appearance nor on how forms are submitted.

See also get_defaultChecked


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