HTMLInputFileElementEvents interface
This dispinterface provides a connection point so that an application or control can intercept events fired by an input type=file element.
Members
The HTMLInputFileElementEvents interface inherits from the IUnknown interface. HTMLInputFileElementEvents also has these types of members:
- Events
Events
The HTMLInputFileElementEvents interface has these events.
Event | Description |
---|---|
click | Fires when the user clicks the left mouse button on the object.
Note Starting with IE11, this event fires a MSPointerEvent object instead of MouseEvent. You can use the MouseEvent.pointerType property to determine the type of contact that the click originated from (touch, mouse, or pen).
|
activate | Fires when the object is set as the IHTMLDocument2::activeElement. |
afterupdate | Fires on a databound object after successfully updating the associated data in the data source object. |
beforeactivate | Fires immediately before the object is set as the IHTMLDocument2::activeElement. |
beforeeditfocus | Fires before an object contained in an editable element enters a UI Activation state or when an editable container object is control selection. |
beforeupdate | Fires on a databound object before updating the associated data in the data source object. |
blur | Fires when the object loses the input focus. |
change | Fires when the contents of the object or selection have changed. |
controlselect | Fires when the user is about to make a control selection of the object. |
dataavailable | Fires periodically as data arrives from data source objects that asynchronously transmit their data. |
datasetchanged | Fires when the data set exposed by a data source object changes. |
dblclick | Fires when the user double-clicks the object.
Note Starting with IE11, this event fires a MSPointerEvent object instead of a MouseEvent. You can use the MouseEvent.pointerType property to determine the type of contact that the click originated from (touch, mouse, or pen).
|
deactivate | Fires when the IHTMLDocument2::activeElement is changed from the current object to another object in the parent document. |
dragstart | Fires on the source object when the user starts to drag a text selection or selected object. |
errorupdate | Fires on a databound object when an error occurs while updating the associated data in the data source object. |
filterchange | Fires when a visual filter changes state or completes a transition. |
focus | Fires when the object receives focus. |
focusin | Fires for an element just prior to setting focus on that element. |
focusout | Fires for the current element with focus immediately after moving focus to another element. |
help | Fires when the user presses the F1 key while the client is the active window. |
keydown | Fires when the user presses a key. |
keypress | Fires when the user presses an alphanumeric key. |
layoutcomplete | Fires when the print or print preview layout process finishes filling the current LayoutRect object with content from the source document. |
mousedown | Fires when the user clicks the object with either mouse button. |
mouseenter | Fires when the user moves the mouse pointer into the object. |
mouseleave | Fires when the user moves the mouse pointer outside the boundaries of the object. |
mousemove | Fires when the user moves the mouse over the object. |
mouseout | Fires when the user moves the mouse pointer outside the boundaries of the object. |
mouseover | Fires when the user moves the mouse pointer into the object. |
mouseup | Fires when the user releases a mouse button while the mouse is over the object. |
mousewheel | Fires when the wheel button is rotated. |
move | Fires when the object moves. |
moveend | Fires when the object stops moving. |
movestart | Fires when the object starts to move. |
onbeforedeactivate | Fires immediately before the IHTMLDocument2::activeElement is changed from the current object to another object in the parent document. |
ondatasetcomplete | Fires to indicate that all data is available from the data source object. |
onkeyup | Fires when the user releases a key. |
onpage | |
onselect | Fires when the current selection changes. |
resize | Fires when the size of the object is about to change. |
resizeend | Fires when the user finishes changing the dimensions of the object in a control selection. |
resizestart | Fires when the user begins to change the dimensions of the object in a control selection. |
rowenter | Fires to indicate that the current row has changed in the data source and new data values are available on the object. |
rowexit | Fires just before the data source control changes the current row in the object. |
selectstart | Fires when the object is being selected. |
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows 2000 Server |
Header |
Mshtml.h |
IDL |
Mshtml.idl |
DLL |
Mshtml.dll |