DoubleClick Event
PLBCMP GUI Only
A DoubleClick event occurs when the mouse button is pressed and released over an object twice in a short space of time.
Note the following:
The DoubleClick event is referenced using an event value of six (6). The equated label in PLBEQU.INC for this event is $DBLCLICK.
The Event Result is set to the selected item number (zero-based).
For a TREEVIEW object, this event occurs when a double click occurs over a TREEVIEW item. The double click action will cause a non-selected item to become selected. Note that a double click event using the right mouse button is not available and does not work.
When the PICT Double Click Event is registered and being used, a Double Click action does not generate the PICT Default ( i.e., ACTIVATE ) and single Click events.
The DoubleClick Event is not supported for the PL/B Web Server (PWS). This restriction exists because there are inconsistent behaviors for different client Browsers. In addition, some mobile devices cannot perform any double clicking actions.
For a PICT and WINDOW objects, the event is only supported when using the PL/B Web Server.
See Also: EVENTREGISTER, Object Events, Object IO Instructions, Object Definitions
![]() |