|
-
Dec 18th, 2002, 01:32 PM
#1
Thread Starter
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|