EventGadget()

Syntax

GadgetNumber = EventGadget()
Description
After a WindowEvent() or WaitWindowEvent() command, use this function to determine which gadget triggered the event (it returns the #Gadget number).

Supported OS

All

<- DisableWindow() - Window Index - EventMenu() ->