8.5.1 DEFINE_EVT Parameters
NAME is the unique name of an event. The name can be up to 20 characters long.
Use the DESC parameter to write a brief description for the event. It can be 40 characters long.
The options parameter can have two values:
*CLEARERRORS or *NOCLEARERRORS |
*CLEARERRORS clears the ShowError states on member forms
*NOCLEARERRORS stops the clearing of ShowError states on member forms
|
*CLEARMESSAGES or *NOCLEARMESSAGES |
*CLEARMESSAGES clears messages on the form that is handling the event
*NOCLEARMESSAGES stops the clearing of messages on the form that is handling the event |
The setting of the OPTIONS parameter in the DEFINE_EVT command automatically set the value of the OPTIONS parameters for the EVTROUTINE command handling the event.
This parameter supports one of the options from the list *PUBLIC, *PROTECT and *PRIVATE.
Use the HELP parameter to write a longer description for an event. The help text can be viewed using the Features option of the Help menu. It can be 250 characters long.