CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Show Method

  1. #1
    Join Date
    Oct 1999
    Posts
    2

    Show Method

    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.


  2. #2
    Guest

    Re: Show Method

    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!)


  3. #3
    Join Date
    May 1999
    Posts
    3,332

    Re: Show Method

    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.


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

Featured