The AllowKeysEnum type specifies the keys to be
combined in order to start an UI operation. For instance, the
AllowEdit
property of AllowKeysEnum type indicates the keys combination to let user edit
the node's caption at runtime. By default, this property is set on
exLeftClick + exDblLick, which means the user is able to edit the node's
caption by double clicking the left mouse button. If this property is set on exRightClick + exCRTLKey the user should
press the CTRL key while right clicking the control to start editing the node. If the exDblClick flag is included, the user requires to do a double
click instead single click to perform the operation. The exDisallow flag
indicates that the operation is not allowed.
The AllowKeysEnum type supports the following values:
| | Name | Value | Description | |
| |
exDisallow | 0
|
The operation is not allowed.
| |
| |
exLeftClick | 1
|
The operation starts once the user clicks the left mouse button.
| |
| |
exRightClick | 2
|
The operation starts if the user clicks the right mouse button.
| |
| |
exMiddleClick | 3
|
The operation starts if the user clicks the middle mouse button.
| |
| |
exSHIFTKey | 8
|
The operation may start only if the user presses the SHIFT key.
| |
| |
exCTRLKey | 16
|
The operation may start only if the user presses the CTRL key.
| |
| |
exALTKey | 32
|
The operation may start only if the user presses the ALT key.
| |
| |
exDblClick | 64
|
The operation starts only if the user double clicks, instead single click.
| |