7.53.1 EVTROUTINE Parameters

HANDLING

COM_SENDER

COM_CURSOR

OPTIONS

HANDLING

HANDLING specifies the component and the event to be handled. You can enter up to 50 combinations of components and events in this parameter.

The event name is qualified by the component name.

COM_SENDER

COM_SENDER can be used to generically refer to components that signaled an event.

The COM_SENDER parameter is used to give a generic name to all components that signal an event and then inside the event routine this generic name can be used to refer to any of the signaling components.

The components can be individual components or instances of a collection.

COM_CURSOR

COM_CURSOR can be used to control the behavior of the desktop cursor during busy operations. It takes the following options:

*DEFAULT

Same as *DELAY_01.

*NEVER

No busy cursor

*IMMEDIATE

Show busy cursor immediately

*DELAY_01

Shows busy cursor if the activity takes longer than 1 second.

*DELAY_02

Shows busy cursor if the activity takes longer than 2 seconds.

*DELAY_04

Shows busy cursor if the activity takes longer than 4 seconds.

 

OPTIONS

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