다음을 통해 공유


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

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: