The number of clicks that are fired when the user presses the Enter key.

Usage

Set_Property(OLECtrlEntID, "OLE.EnterKeyClickAmt", Value)

Values

Value can be any positive or negative whole number:

Default: 2

Remarks

The EnterKeyClickAmt property is a convenient way of mapping the Enter key to an existing click event. This way, you don't have to qualify several events intended to accomplish the same task. This property has 3 possible values:

EnterKeyClickAmt = 0

Set this property to zero when you never want the Enter key to fire an event.

EnterKeyClickAmt = 1

Set this property to one when you want the Enter key to fire the OnItemClick event.

EnterKeyClickAmt = 2

Set this property to two when you want the Enter key to fire the OnItemDblClick event.

When EnterKeyClickAmt is 1 or 2, the second parameter of the Click events will be set to "Enter".

Example

// Make the enter key act like a single click 
Set_Property(@Window:".OLE_REPORTTABLE", "OLE.EnterKeyClickAmt", 1)
  • No labels