|
-
Oct 27th, 2000, 05:07 AM
#1
Thread Starter
Fanatic Member
I have a toolbar on my form with five buttons on it. Is there a way for me to be able to have the five buttons spread themselves equally across the whole toolbar, instead of the buttons appearing aligned to the left?
If not is there another type of control I could use to do this?
VB6 sp5, SQL Server 2000, C#
There are no stupid questions. Only stupid people. 
-
Oct 27th, 2000, 05:22 AM
#2
Hyperactive Member
insert a new button between each button and make it a placeholder.
in your program you will need to adjust the width of the place holder depending on the screen res.
Toolbar1.Buttons(x).Width=...
regards
chris
-
Oct 27th, 2000, 05:28 AM
#3
Thread Starter
Fanatic Member
Cheers, but I would like the buttons to take up the whole toolbar with no gaps.
Any other ideas?
VB6 sp5, SQL Server 2000, C#
There are no stupid questions. Only stupid people. 
-
Oct 27th, 2000, 06:13 AM
#4
Hyperactive Member
The only way I can think of is to make the size of the images in the associated image box the width you require.
Though this would require a different imagebox for each screen resolution.
Regards
Chris
-
Oct 27th, 2000, 07:53 AM
#5
Thread Starter
Fanatic Member
Cheers, but I've gone the easy route and just placed 5 large buttons side by side. Not exactly what I wanted but it will do.
VB6 sp5, SQL Server 2000, C#
There are no stupid questions. Only stupid people. 
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
|