DoubleClick Event


PLBCMP GUI Only

square.png Objects

 

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:

  1. The DoubleClick event is referenced using an event value of six (6). The equated label in PLBEQU.INC for this event is $DBLCLICK.

  2. The Event Result is set to the selected item number (zero-based).

  3. 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.

  4. 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.

  5. 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.

  6. 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

 



PL/B Language Reference Deactivate Event DragDrop Event