|
-
Feb 20th, 2002, 06:01 AM
#1
Thread Starter
New Member
Important
Hello, i've got some controls on ma form and i want to apportion them so that they would all be equal in length, width and stuff like that. I don't want to select one and work on it and move to the next one, it has to be done at the same time. Thanks:confused
-
Feb 20th, 2002, 06:02 AM
#2
At design time you should be able to select as many of them as you want and set the Width property.
At run time you could use a For Each loop.
Which do you want to do?
Tris.
This world is not my home. I'm just passing through.
-
Feb 20th, 2002, 06:09 AM
#3
Bouncy Member
VB Code:
lngWidth = command1.Width
command2.Width = lngWidth
command3.Width = lngWidth
'etc etc
???
-
Feb 20th, 2002, 07:29 AM
#4
At design time select as many controls as you would like and then select format from the menu bar. It will give you a lot of options about alignment, size and spacing. Keep in mind most of these options are based on the last control that you selected.
-
Feb 20th, 2002, 08:07 AM
#5
trisuglow and MarkT have it. When you select multiple controls,and click on properties, all of the properties these controls have in common will be presented. Changing something on the displayed property page will affect all selected controls.
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
|