Results 1 to 5 of 5

Thread: _Form waiting...

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2002
    Posts
    40

    _Form waiting...

    How can I start a second Form and let the Code 'wait' until the second form is closed (just like a Msgbox with Yes/No), in (ACAD) VBA there's a .ShowModal Property, in VB there's not.
    Thanks for any suggestions... SMD

  2. #2
    Fanatic Member
    Join Date
    Apr 2002
    Posts
    638
    VB Code:
    1. Form1.Show vbModal


  3. #3
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    tr0n:

    huh, never knew that myself actually.
    nice one
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  4. #4
    Fanatic Member
    Join Date
    Apr 2002
    Posts
    638
    how did you ever show modal forms then? some crazy API stuff?

  5. #5
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Actually none of my applications use multiple forms at the one time.

    Generally, if there is a second form to be shown, its only as an options screen for the main form.
    And then I would have all options for that form group into SSTabs or something similar.

    The applications I design are wizards, so its one form to the next to the next - one at a time.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

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