Click to See Complete Forum and Search --> : Repositioning
Armadillo
Nov 13th, 1999, 09:31 AM
I want to have the controls on my form reposition themselves when the user maximizes the form. Instead of having the controls in the upper left corner of the screen I would like to have them repositioned in the center of the form; in the same proportion to the other controls like they were when the form was not maximized.
Bob Baddeley
Nov 13th, 1999, 09:44 AM
How about something like when it maximizes you have
Command1.Left = Command1.Left + Form1.Width / 2
Command1.Top = Command1.Left + Form1.Height / 2
for all of your commands. Would that work? I haven't tried it.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.