Table of Contents

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

NameRequiredDescription
ObjectYesIdentifier of the object to access. Must be in upper-case.
EventYesName of the event to execute. Must be in upper-case.
Param1 - Param20NoParameters 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.