Dokumentaro de Gambaso
Compilation & Installation from source code
Components
gb
gb.crypt
gb.qt4
Control
Key
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Window.StartMove (gb.qt4)

Sub StartMove ( )

Initiates moving a window via the mouse.

The same as when you right click a desktop Taskbar item and select "Move"

This method only works inside an event with valid Mouse data


Public Sub plnMove_MouseDown()

  Me.StartMove

End
Using StartMove in the MouseDown event allows the move while mouse is down and stops the move when mouse is released.

The above code should essentially do the same as this..
Public Sub plnMove_MouseMove()

  If Mouse.Left Then Me.Move(Me.ScreenX + (Mouse.- Mouse.StartX), Me.ScreenY + (Mouse.- Mouse.StartY))

End