Results 1 to 6 of 6

Thread: What is the difference

  1. #1

    Thread Starter
    Hyperactive Member PITBULLCJR's Avatar
    Join Date
    Nov 1999
    Location
    New York
    Posts
    408

    Post

    What is the difference between the startup position centerscreen and startup postion centerowner?

    ------------------
    Sincerely,
    Chris
    :-) ;-)
    Email pitbullcr7@aol.com

  2. #2
    Guest

    Post

    It has to do if your making a MDI APP (Multiple Document Interface). In other words, are you creating a FORM that is a PARENT and a Form that is a Child. The child will center on the Parent Form since the Parent is the OWNER. In other words, where ever your program is at on the screen, if you select Position Owner, it will center under the Center of the Parent Form and not of the user screen, no matter where you put it on your desktop.

    Hope that helps..

    ------------------
    John T. Mieske
    Knight Vision Enterprises

    kvision@gate.net


    [This message has been edited by Knight_Vision (edited 01-01-2000).]

  3. #3

    Thread Starter
    Hyperactive Member PITBULLCJR's Avatar
    Join Date
    Nov 1999
    Location
    New York
    Posts
    408

    Post

    I get it thanks a lot!! It makes all the sense in the world now. I just could not figure it out because I forgot about parent and child forms. Thanks!!

    ------------------
    Sincerely,
    Chris
    :-) ;-)
    Email pitbullcr7@aol.com

  4. #4
    Guest

    Post

    Hey.. no prob.. just helping my fellow VB gurus out there who helped me when I needed it..



    ------------------
    John T. Mieske
    Knight Vision Enterprises

    kvision@gate.net

  5. #5
    Guest

    Post

    also, it doesnt ONLY apply to MDI apps, if you have one normal form in the top left of the screen, and an event on that form shows a new form, then the new one is displayed inside the first (if it is smaller), regardless of its child/parent status



    ------------------

    Wossname,
    Email me: wossnamex@talk21.com

  6. #6
    Hyperactive Member
    Join Date
    Jan 1999
    Location
    Rotterdam, Netherlands
    Posts
    386

    Post

    Not even always at the left corner of the screen... it sometimes appears there, and sometimes just at the same place as it's in the VB IDE... hehehe but i like the centerscreen option :-) saves 2 lines of code in the form_load :-)

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