PrevioussetDelegate Up

Base Method setEvent

Registers a particular CallBack for an event which this object may receive. The event is identified by an event index. See the file P2CEVENT.CPY. Warning, presently there is no error detection on trying to register callbacks for events that objects can't possibly receive. For example an exception WOULD NOT be raised if the user tried to register a callback for a resize event on a button. The effect would be that the callback would never get called.

Using Parameters
lnkEventIndex PIC S9(9) COMP-5
lnkEventHandler OBJECT