On Mouse Up
|Code||Can be called by||Definition|
|2||Input of the ||The user has just released the left mouse button in a Picture object|
On Mouse Up event is generated when the user has just released the left mouse button while dragging in a picture input. This event is useful, for example, when you want the user to be able to move, resize or draw objects in a SVG area.
On Mouse Up event is generated, you can get the local coordinates where the mouse button was released. These coordinates are returned in the
MouseY System variables. The coordinates are expressed in pixels with respect to the top left corner of the picture (0,0).
When using this event, you must also use the
Is waiting mouse up command to handle cases where the "state manager" of the form is desynchronized, i.e. when the
On Mouse Up event is not received after a click. This is the case for example when an alert dialog box is displayed above the form while the mouse button has not been released. For more information and an example of use of the
On Mouse Up event, please refer to the description of the
Is waiting mouse up command.
If the Draggable option is enabled for the picture object, the
On Mouse Upevent is never generated.