Select all objects and move objects

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chrispangth
    New Member
    • Jul 2008
    • 1

    Select all objects and move objects

    Hi,

    is there any idea to select all objects in window form and move it together to another location ?

    thanks
  • Curtis Rutland
    Recognized Expert Specialist
    • Apr 2008
    • 3264

    #2
    You could loop through this.Controls (c#) or Me.Controls (vb) and change the .Location. If you did this systematically you can move them all the same amount of pixels.

    Or, if all your controls are in a Panel, you can just move the Panel, and the controls follow.

    Comment

    Working...