EventGadgetID()
Syntax
#Gadget = EventGadgetID()
After a WindowEvent() or WaitWindowEvent() command, use this function to determine which gadget triggered the event (it returns the #Gadget identifier).
Supported OS
All