ctrlKey

HTML (DHTML)

ctrlKey Property

Internet Development Index

Sets or retrieves the state of the CTRL key.

Syntax

event.ctrlKey [ = bEvent ]

Possible Values

bEventBoolean that specifies or receives one of the following values.
falseCTRL key is not pressed.
trueCTRL key is pressed.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

The property is read-only in Microsoft® Internet Explorer 4.0, and read/write in Internet Explorer 5 and later.

Standards Information

There is no public standard that applies to this property.

Applies To

event

See Also

ctrlLeft