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 :D:D
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
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
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