VisibleRemoteObject.OnButtonRelease


public event OnButtonRelease

Prototype:

OnButtonRelease(Sender, EventData)

Parameters

Sender
the event firing control
EventData
contains a string, encapsulating the X and Y relative coordinates separated by ":", the number of the mouse button released and the state of the modifier keys(Alt, Shift, Ctrl, etc).

Description:

Event triggered by user releasing button.
Evaluating EventData like this :

    EventData=StrNumberSplit(EventData,":");
    X=EventData[0];
    Y=EventData[1];
    button=EventData[2];
    state=EventData[3]

will give you the x,y,button that was released and the state of the modifier keys.

Return value:

This event can close the application by returning MSG_APPLICATION_QUIT. Any other return value will be ignored.