The action initiates the handler of particular picture
event. Generally, picture event handler is a specialized procedure initiates
with the keyword
ENTRY (or
ENTRYX).
Picture events generated by graphic objects can be
handled in two ways:
- special
handler of a picture
event for a graphic object
- global
handler of a picture
event for all graphic objects
The first way (special
handler) handles events generated by one graphic
object. Such handler contains a special name consisting of the graphic
object name (the reference variable connected to graphic object) and picture
event name. This method uniquely identifies the handler name (for
example: BtnOK_OnClick. _BtnOK is a Reference local variable
connected to the graphic object and OnClick
is an picture event type).
The second way (global
handler) handles all picture
events of given type (for example: OnClick)
for all graphic objects, for which a special handler of
given picture event.
If a picture event handler is defined by the keyword
ENTRYX, requests for handling
picture events will be reduced so, that last picture event, not handled yet,
will be handled first. During generation of a new picture event, all the picture
event of the same type waiting to handle will be ignored.
The keyword ENTRYX
may not be used for the following picture events:
OnClose,
OnPopUpMenu_Result,
OnSubPictureClosed,
OnAXEvent,
OnItemValidate,
OnFetchDone,
OnUserInput.
0 komentárov