Results 1 to 8 of 8

Thread: Dont Show Form Twice..

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2002
    Location
    Canton, GA
    Posts
    487

    Dont Show Form Twice..

    Hey guys/gals I have a MDI form that will display and Inventory form if you select a button from the toolbar...

    Here is the problem...

    If you hit the button twice it will create a second form.. How can I stop that?

    Code:

    Case 1
    Dim NewMDIChild As New frmInventory()
    'Set the Parent Form of the Child window.
    NewMDIChild.MDIParent = Me
    'Display the new form.
    NewMDIChild.Show()
    Case 2
    etc etc etc

    Thanks in advance...

    Anjari
    Last edited by Anjari; Dec 18th, 2002 at 05:00 PM.

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