IHTMLOptionButtonElement::get_checkedIHTMLOptionButtonElement::get_checked*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLOptionButtonElement::put_checked
*Next Topic: IHTMLOptionButtonElement::put_defaultChecked

IHTMLOptionButtonElement::get_checked


HRESULT get_checked(
    VARIANT_BOOL *p 
);

Retrieves whether the given check box or radio button is selected.

p
Address of a variable that receives TRUE if the button is selected, or FALSE otherwise. The default value for this property is FALSE.

Check boxes that are not selected do not return their values when the form is submitted.

See also put_checked

Up Top of Page


IHTMLOptionButtonElement::put_checked


HRESULT put_checked(
    VARIANT_BOOL v 
);

Sets whether the given check box or radio button is selected.

v
Select flag. Set this parameter to TRUE to select the button, or FALSE otherwise.

Check boxes that are not selected do not return their values when the form is submitted.

See also get_checked


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