Click to See Complete Forum and Search --> : Show Method


Perry
October 6th, 1999, 06:42 PM
The Form .Show method has a parameter 'OwnerForm'. I can't seem to find any good documentation on it that makes sense for Modal forms??? The VB documentation uses an example showing a form vbModal! If I use it or not I have not been able to see a difference. For modeless forms OK..it will stay on top of its Owner but what about Modal ones.

October 6th, 1999, 07:12 PM
Modal:

You have to close the form before you can do anything else

Ray

http://homepages.msn.com/LibraryLawn/rayxu/
(Lots of VB code, tips, links, and more!)

Lothar Haensler
October 7th, 1999, 02:06 AM
when you "show" a form you can specify the Startupposition of the form, e.g. centerOwner.
By specifying an owner form you can define the owner which is used as a base for centering your form.