Results 1 to 3 of 3

Thread: Form Model

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Posts
    5

    Post

    How can I make a form a model form for my application? Like how a message box and be set to vbApplicationModal.

  2. #2
    Hyperactive Member
    Join Date
    Jul 1999
    Location
    NY, USA
    Posts
    270

    Post

    Use something like this:


    Private Sub Command1_Click()
    frmAbout.Show vbModal, Me
    End Sub


    The vbModal specifies that the form should be a Modal form and the Me is the Owner Form. If you wanted the form to be modal to another form, replace Me with its name.

    ------------------
    Tom Young, 14 Year Old
    tyoung@stny.rr.com
    ICQ: 15743470
    AIM: TomY10
    PERL, JavaScript and VB Programmer


    [This message has been edited by Compwiz (edited 11-09-1999).]

  3. #3
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,175

    Post

    MYForm.Show vbModal


    ------------------
    Marty

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