Use
Sets the OK code to be sent when the event structure is sent. (The OK code is the contents of the SAGUI Command filed, which usually contains a transaction code).
Syntax
DWORD DLEX ItEv_SetOKCode(PIT_EVENT pEvt, const char *okcode);
Parameters
pEvt |
Pointer to the IT_EVENT structure |
okcode |
String containing the new OK code to send |
Return Value
Returns TRUE on success.
Comments
Sending an OK code of a transaction immediately invokes that transaction, ignoring other control changes that may have been made in the current screen or event.
See Also
IT_EVENT.