Click to return to the Reusing Browser Technology home page    
IHTMLInputElement::select...     IHTMLInputFileElement::ge...     Interfaces and Scripting ...    
Web Workshop  |  Reusing Browser Technology

IHTMLInputFileElement Interface


This interface specifies a type of input control.

IHTMLInputFileElement Methods

get_disabled Determines whether the INPUT file control is enabled or disabled.
get_form Retrieves a reference to the form the element is embedded on.
get_maxLength Retrieves the maximum number of characters that can be entered into the control.
get_name Retrieves the name of the control, bookmark, or application.
get_onchange Retrieves a pointer to the event handler function associated with the onchange event for an INPUT type=file element. An onchange event occurs when the content of the object has changed.
get_onselect Retrieves a pointer to the event handler function associated with the onselect event for an INPUT type=file element. An onselect event occurs at the beginning of a user-initiated select. This event can be canceled, and it participates in the bubbling model.
get_size Retrieves the number of bytes in the file to be transferred.
get_status Retrieves the status of the INPUT file control.
get_type Retrieves the type of intrinsic control represented by the given element object.
get_value Retrieves the value of the INPUT file control.
put_disabled Enables or disables the INPUT file control. A disabled control appears dimmed and does not respond to user input.
put_maxLength Sets the maximum number of characters that can be entered into the control.
put_name Sets the name of the control, bookmark, or application.
put_onchange Sets a pointer to the event handler function associated with the onchange event for an INPUT type=file element. An onchange event occurs when the content of the object has changed.
put_onselect Sets a pointer to the event handler function associated with the onselect event for an INPUT type=file element. An onselect event occurs at the beginning of a user-initiated select. This event can be canceled, and it participates in the bubbling model.
put_size Sets the number of bytes in the file to be transferred.
put_status Sets the status of the INPUT file control.
put_value Sets the value of the INPUT file control.
select Highlights the input area of the INPUT file control.

Interface Information

Implementation System (Mshtml.dll)
Inherits from IDispatch
Header and IDL files Mshtml.h, Mshtml.idl
Minimum availability Internet Explorer 4.0
Minimum operating systems Windows 95, Windows NT 4.0

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

See Also

InputElement, InputElement::type



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.