By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,827 Members | 2,177 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,827 IT Pros & Developers. It's quick & easy.

Select all objects and move objects

P: 1
Hi,

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

thanks
Jul 24 '08 #1
Share this Question
Share on Google+
1 Reply


Curtis Rutland
Expert 2.5K+
P: 3,256
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.
Jul 24 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.