EventType()
Syntax
Event = EventType()Description
After a WindowEvent() or WaitWindowEvent() command, use this function to determine of which type the event is. EventType() is now linked to the Gadget and Systray libraries and can returns the following values when an event occurs:#PB_EventType_LeftClick : Left mouse button click #PB_EventType_RightClick : right mouse button click #PB_EventType_LeftDoubleClick : Left mouse button double click #PB_EventType_RightDoubleClick: Right mouse button double click #PB_EventType_Focus : Get the focus. #PB_EventType_LostFocus : Lose the focus. #PB_EventType_Change : Content change.The following gadgets supports EventType() (See the gadget definition to see which events are supported):
- ExplorerListGadget()
- ExplorerTreeGadget()
- ImageGadget()
- ListViewGadget()
- ListIconGadget()
- MDIGadget()
- StringGadget()
Supported OS
All