Results 1 to 2 of 2

Thread: Repositioning

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Posts
    5

    Post

    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.

  2. #2
    Hyperactive Member
    Join Date
    Sep 1999
    Posts
    305

    Post

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width