controlselect | 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

SynchronousNo
BubblesYes
CancelableYes

 

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 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:

See also

a
abbr
acronym
address
applet
area
b
bdo
big
blockQuote
body
button
caption
center
cite
custom
dd
dfn
dir
div
dl
document
dt
em
embed
fieldSet
font
form
frame
frameSet
hn
hr
i
iframe
img
input type=button
input type=checkbox
input type=email
input type=file
input type=hidden
input type=image
input type=number
input type=password
input type=radio
input type=range
input type=reset
input type=search
input type=submit
input type=tel
input type=text
input type=url
ins
isIndex
kbd
label
legend
li
listing
marquee
menu
object
ol
p
plainText
pre
q
rt
ruby
s
samp
select
small
span
strike
strong
sub
sup
table
tBody
td
textArea
tFoot
th
tHead
tr
tt
u
ul
var
xmp

 

 

Show:
© 2014 Microsoft