Click to See Complete Forum and Search --> : What is the difference
PITBULLCJR
Jan 1st, 2000, 04:07 AM
What is the difference between the startup position centerscreen and startup postion centerowner?
------------------
Sincerely,
Chris
:-) ;-)
Email pitbullcr7@aol.com
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).]
PITBULLCJR
Jan 1st, 2000, 05:46 AM
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
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
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
:o
------------------
Wossname,
Email me: wossnamex@talk21.com :)
Crazy D
Jan 2nd, 2000, 05:05 AM
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 :-)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.