The picture event is being generated after pressing the mouse button (button down)
above the picture. The parameter
_shift determines whether the SHIFT key were
pressed along with the mouse button. The parameters
_X and
_Y determines position of mouse pointer.
The parameter
_btnNr identifies the
pressed mouse button according to the following table:
_btnNr |
Mouse button |
1 |
Left |
2 |
Middle |
3 |
Right |
The parameter _refId is used for graphic
objects with defined Reference variable other than 0. So it is possible
to use the special event handler. For the graphic object with no defined
Reference variable, it is required to use the global event handler and the
parameter _refId will be 0. Also when the user
press the mouse button above the picture (not above graphic object).
Pridať komentár