Determines if the Enter key is passed to the OI window.

Usage

Set_Property(OLECtrlEntID, "OLE.PassEnterKey", Boolean)

Values

[True | False]

Default: False

Remarks

The PassEnterKey property is a flag which determines the behavior of the Enter key. When set to zero (which is the default), the Enter key is consumed by the Edit Table and OpenInsight never knows it was pressed. This prevents Default buttons from responding. However, if the PassEnterKey property is set to 1, then all Enter keys are passed to OpenInsight, which allows OpenInsight default buttons to fire.

Example

// Pass ENTER keys to OpenInsight 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.PassEnterKey", 0)
  • No labels