|
-
Feb 22nd, 2007, 11:13 AM
#1
Thread Starter
Frenzied Member
Visual Studio 2005 automation
Not sure if this is the right forum but here goes:
I need to create a macro that formats selected controls for me. I'm finding myself selecting a group of textboxes, collapsing the space between them and them selecting the group again minus the one on top, bring down the selected group down two arrow clicks and repeating that untill all boxes are a neat two pixel apart from each other.
Ive not found good info out there on something that will help me. Can anyone give me some good tips and possibly some code to learn from?
Thanks all 
-
Feb 22nd, 2007, 11:16 AM
#2
Re: Visual Studio 2005 automation
Select your controls.... then in the toolbar, there's a button that will evenly space the controls.... and there's another button not too far away that reduces the spacing between.....
-tg
-
Feb 22nd, 2007, 11:24 AM
#3
Thread Starter
Frenzied Member
Re: Visual Studio 2005 automation
Right...that's how i do it now....for each text box. 
I was trying to figure out a way to simply select all the boxes and run a macro that would do all that for me.
It really sux when you have a lot of them LOL
-
Feb 22nd, 2007, 11:25 AM
#4
Thread Starter
Frenzied Member
Re: Visual Studio 2005 automation
it would be sweet if you could alter the code behind those layout buttons...But, MS isn't exactly liberal with some of their code LOL
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|