Applies to

System object only.

Description

Setting the BLOCK_EVENTS property to true disables the generation and processing of all event messages (except for CLOSE) in the system.

Usage

status = Set_Property ( "SYSTEM", "BLOCK_EVENTS" truefalse)

status = Get_Property ( "SYSTEM", "BLOCK_EVENTS" )

Remarks

This property is useful when you want to block all events generated by your action for a period of time. If you do not set this property back to false (0), the system will not respond to any actions (except CLOSE).

Events must be blocked or MODAL must be set, for example, when calling DLL functions that display dialogs, or the presentation services of OpenInsight can lock up. This includes calling any Windows API functions that display common dialogs.

See also

HOLD_EVENTS propertyMODAL property

  • No labels