VB Move Function Tutorial | Position Controls
In VB, the Move method can be used to change the position of a control or form. The syntax of the Move method is as follows:
object.Move Left, Top, Width, Height
object refers to the control or window object to be moved, with Left and Top representing the coordinates of the top-left position to move to, and Width and Height representing the width and height of the control or window, respectively.
For example, to move a label control named Label1 to position (100, 100), you can use the following code:
Label1.Move 100, 100, Label1.Width, Label1.Height