Gambas Documentation
Documents

Control.Reparent (gb.qt4)

Sub Reparent ( Parent As Container [ , X As Integer, Y As Integer ] )

Changes the container of a control.

  • Parent is the new parent container of the control.

  • X and Y are the position of the control in its new parent. If not specified, the control will keep the same relative position it had in its previous parent.