Gambas Documentation
Documents

Control.MoveScaled (gb.qt4)

Sub MoveScaled ( X As Float, Y As Float [ , Width As Float, Height As Float ] )

Moves and/or resizes the control.

  • X and Y are the new relative position of the control in its parent container.

  • Width and Height are the new size of the control. If not specified, the control size does not change.

The specified coordinates are multiplied by Desktop.Scale before being applied.