The number of clicks that are fired when the user presses the Enter key.
Set_Property(OLECtrlEntID, "OLE.EnterKeyClickAmt", Value) |
Value can be any positive or negative whole number:
Default: 2
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:
Set this property to zero when you never want the Enter key to fire an event.
Set this property to one when you want the Enter key to fire the OnItemClick event.
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".
// Make the enter key act like a single click Set_Property(@Window:".OLE_REPORTTABLE", "OLE.EnterKeyClickAmt", 1) |