OnUpdateCapture  Mouse

The OnUpdateCapture event is called after Mouse.Capture when the cursor is moving until the button is released.

Syntax

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

Parameters

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

Return value

The OnUpdateCapture event has no return values.

Example

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