It allows me to specify an Object.BindEvent(Event, @Callback() [, Window [, Object [, EventType]]])
For example,
Code: Select all
BindEvent(#PB_Event_SizeWindow, @MyEvent(), WindowID, GadgetID)
How can I get the GadgetID from within the procedure MyEvent()
For example,
Code: Select all
Procedure.l MyEvent()
; Question <---- How to get and use the GadgetID??
endprocedure