constants AllowKeysEnum
The AllowKeysEnum type specifies the keys to be combined in order to start an UI operation. For instance, the AllowCreateObject property of AllowKeysEnum type indicates the keys combination to let user creates a new element at runtime. By default, this property is set on exLeftClick + exDblClick, which means the user is able to create a new element by double left click. If this property is set on exRightClick + exCRTLKey the user should press the CTRL key while right clicking the control to start creating a new element. 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:

NameValueDescription
exDisallow0 exDisallow. The operation is not allowed.
exLeftClick1 exLeftClick. The operation starts once the user clicks the left mouse button.
exRightClick2 exRightClick. The operation starts if the user clicks the right mouse button.
exMiddleClick3 exMiddleClick. The operation starts if the user clicks the middle mouse button.
exSHIFTKey8 exSHIFTKey. The operation may start only if the user presses the SHIFT key.
exCTRLKey16 exCTRLKey. The operation may start only if the user presses the CTRL key.
exALTKey32 exALTKey. The operation may start only if the user presses the ALT key.
exDblClick64 exDblClick. The operation starts only if the user double clicks, instead single click.