Keys Enumeration

Summary

Specifies a key code.

Syntax

JavaScript Syntax
lt.Controls.Keys = { 
	None: 0, 
	LButton: 1, 
	RButton: 2, 
	Cancel: 3, 
	MButton: 4, 
	Enter: 13, 
	Escape: 27, 
	Space: 32, 
	PageUp: 33, 
	PageDown: 34, 
	End: 35, 
	Home: 36, 
	Left: 37, 
	Up: 38, 
	Right: 39, 
	Down: 40, 
	Alt: 262144, 
	Shift: 65536, 
	Control: 131072, 
	KeyCode: 65535, 
	Modifiers: -65536 
} 
TypeScript Syntax
lt.Controls.Keys = { 
	None: 0, 
	LButton: 1, 
	RButton: 2, 
	Cancel: 3, 
	MButton: 4, 
	Enter: 13, 
	Escape: 27, 
	Space: 32, 
	PageUp: 33, 
	PageDown: 34, 
	End: 35, 
	Home: 36, 
	Left: 37, 
	Up: 38, 
	Right: 39, 
	Down: 40, 
	Alt: 262144, 
	Shift: 65536, 
	Control: 131072, 
	KeyCode: 65535, 
	Modifiers: -65536 
} 

Members

0 None

(0) No key

1 LButton

(1) Left mouse button

2 RButton

(2) Right mouse button

3 Cancel

(3) Cancel key (Escape by default)

4 MButton

(4) Middle mouse button

13 Enter

(13) Enter key

27 Escape

(27) Escape key

32 Space

(32) Space key

33 PageUp

(33) Page up key

34 PageDown

(34) Page down key

35 End

(35) End key

36 Home

(36) Home key

37 Left

(37) Left key

38 Up

(33) Page up key

39 Right

(39) Right key

40 Down

(34) Page down key

262144 Alt

(262144) ALT key

65536 Shift

(65536) Shift key

131072 Control

(131072) Control key

65535 KeyCode

(65535) Mask for key codes

-65536 Modifiers

(-65536) Mask for modifier keys

Requirements

Target Platforms

See Also

Reference

Leadtools.Controls Namespace

Help Version 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly