MSM-Workstation
Events

ptrDrag

The low level event ptrDrag may occur for windows and for components of the types Scroll Bar and Generic Box.

The event ptrDrag occurs when the pointer is being moved while at least one pointer button is depressed.

Information about the position of the pointer and about the pointer-button(s) pressed can be obtained using the macros %%EvPtrButton, %%EvPtrPos and %%EvPtrState.

For a Scroll Bar component, this is achieved by holding down the pointer button while moving the pointer over the position indicator.
Hint: action logic for the event ptrDown is typically related to dragging activity.
Any other action logic is often more appropriate when the event ptrUp occurs.
See also the event ptrMove.

In MWAPI, this event is called "PDRAG".

Go to the alphabetic list of events.