|
-
Aug 5th, 2004, 01:35 PM
#1
Thread Starter
Hyperactive Member
restricting multiple instances of child form?
I am using an MDI form with menu items.
I am using the following code to open a form when appropriate menu item is chosen. But I want to make sure if the user clicks on the same menu item multiple times, only one instance of the MDI child should be shown rather than mulitiple instance of the same (MDI child) form.
Dim NewMDIChild As New frmRateType
NewMDIChild.MdiParent = Me
NewMDIChild.StartPosition = FormStartPosition.CenterScreen
NewMDIChild.Show()
How can I restrict?
thanks
nath
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
|