MouseMove Event


PLBCMP GUI Only

square.png Objects

 

The MouseMove event occurs when the user moves the mouse over an object.

Note the following:

  1. The MouseMove event is referenced using an event value of fifteen (15). The equated label in PLBEQU.INC for this event is $MOUSEMOVE.

  2. This event is repeated continuously as the user moves the mouse over an object.

  3. The Event Result contains the mouse left position times 10,000 plus the mouse top position. The position is based on the top left point of the object.

  4. The Event Modifier contains a value from the following table:

  5.  

    Value

    Key Pressed

    1

    ALT

    2

    CTRL

    4

    SHIFT

    8

    Left Mouse Button

    16

    Right Mouse Button

    32

    Double Click

 

See Also: EVENTREGISTER, Object Events, Object IO Instructions, Object Definitions

 



PL/B Language Reference MouseDown Event MouseUp Event