Post_Event subroutine
Description
Posts an event onto the event queue. The posted event will not be executed until the current event chain is completed.
Syntax
Call Post_Event( Object, Event, Param1, Param2, Param3, …, Param20 )
Parameters
Name | Required | Description |
---|---|---|
Object | Yes | Identifier of the object to access. Must be in upper-case. |
Event | Yes | Name of the event to execute. Must be in upper-case. |
Param1 - Param20 | No | Parameters to be passed to the event. Up to 20 parameters may be used. |
Returns
N/A
Errors
N/A
Remarks
N/A
Example
$Insert Logical * // Post a CLICK event to the BTN_OK button Call Post_Event( @Window : ".BTN_OK", "CLICK" ) * // Post a CLEAR event to the current window, clearing the key prompt * // and ignoring SAVEWARN warnings Call Post_Event( @Window, "CLEAR", FALSE$, TRUE$ )
See Also
Send_Event function.