IHTMLControlElement::get_onfocusIHTMLControlElement::get_onfocus*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLControlElement::put_onfocus
*Next Topic: IHTMLControlElement::put_onresize

IHTMLControlElement::get_onfocus


HRESULT get_onfocus(
    VARIANT *p
);

Retrieves the inline script associated with the onfocus event on the control element.

p
Address of a VARIANT structure to store the script.

See also put_onfocus

Up Top of Page


IHTMLControlElement::put_onfocus


HRESULT put_onfocus(
    VARIANT v
);

Sets the inline script associated with the onfocus event on the control element.

v
Variable of VARIANT type.

See also get_onfocus


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