OnReleaseCapture  Mouse

The OnReleaseCapture event is called after Mouse.Capture when the button is released.

Syntax

Mouse.OnReleaseCapture(
     Integer x,
     Integer y,
     Integer btn)

Parameters

xCurrent horizontal position.
yCurrent vertical position.
btnStates of the buttons.

Return value

The OnReleaseCapture event has no return values.

Example

message Application.Mouse.OnReleaseCapture(Integer x, Integer y, Integer btn)
{
    m_dlg.SetCaption(x+", "+y)
}
SECCIA Documentation - Copyright © 2001-2009 Sylvain Seccia