|
-
Apr 15th, 2003, 08:36 AM
#1
Thread Starter
Fanatic Member
Moving controls on a form
Does anyone know the best way to move controls on a form when it is resized.
I have a form with 3 command buttons in the bottom right hand corner of the form.
When I maximize the form I want to be able to set the commmand buttons in the same area of the maximized form and vice versa.
Thanks
Gary
Gary Lowe 
VB6 (Enterprise) SP5
ADO 2.6
SQL Server 7 SP3
OK I know my spelling and grammer is crap so don't quote me on it!
To err is human to take the P! is only natural !!
Click on the top section of image for Marcus Miller website and bottom section of image for 'Run For Cover' sound clip

-
Apr 15th, 2003, 08:39 AM
#2
Fanatic Member
Me.cmd1.Left = Me.ScaleWidth - Me.cmd1.Width
in the resize method of the form
-
Apr 15th, 2003, 08:40 AM
#3
Thread Starter
Fanatic Member
Thanks TokersBall
Much appreciated
Gary Lowe 
VB6 (Enterprise) SP5
ADO 2.6
SQL Server 7 SP3
OK I know my spelling and grammer is crap so don't quote me on it!
To err is human to take the P! is only natural !!
Click on the top section of image for Marcus Miller website and bottom section of image for 'Run For Cover' sound clip

-
Apr 15th, 2003, 08:40 AM
#4
Let me in ..
If you search for this thing on this forum you will find plenty of examples. However, what i've found out is those examples may not be 100 % perfect in your case. So you look at the examples and try and write your own logic that fits your scenario.
In other words, resizing in VB 6 sux.
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
|