oncontrolselect event
Fires when the user is about to make a control selection of the object.
Syntax
HTML Attribute | <element oncontrolselect = "handler(event)"> |
Event Property | object.oncontrolselect = handler; |
attachEvent Method | object.attachEvent("oncontrolselect", handler) |
addEventListener Method | object.addEventListener("controlselect", handler, useCapture) |
Event information
Synchronous | No |
Bubbles | Yes |
Cancelable | Yes |
Event handler parameters
- pEvtObj [in]
Type: IHTMLEventObj
Standards information
There are no standards that apply here.
Remarks
Only content editable objects can be included in a control selection. You can make objects content editable by setting the IHTMLElement3::contentEditable property to true
or by placing the parent document in design mode.
This event fires before the element is selected, so inspecting the selection object gives no information about the element to be selected.
Activates sizing handles allowing the selected element to be resized.
To invoke this event, do one of the following:
- Make a control selection of an object.
- Add or Remove a control selected element from a multiple selection.
The pEvtObj parameter is required for the following interfaces:
- HTMLAnchorEvents2
- HTMLAreaEvents2
- HTMLButtonElementEvents2
- HTMLControlElementEvents2
- HTMLDocumentEvents2
- HTMLElementEvents2
- HTMLFormElementEvents2
- HTMLImgEvents2
- HTMLFrameSiteEvents2
- HTMLInputFileElementEvents2
- HTMLInputImageEvents2
- HTMLInputTextElementEvents2
- HTMLLabelEvents2
- HTMLLinkElementEvents2
- HTMLMapEvents2
- HTMLMarqueeElementEvents2
- HTMLObjectElementEvents2
- HTMLOptionButtonElementEvents2
- HTMLScriptEvents2
- HTMLSelectElementEvents2
- HTMLStyleElementEvents2
- HTMLTableEvents2
- HTMLTextContainerEvents2
- HTMLWindowEvents2