|
-
March 20th, 2001, 02:49 PM
#1
MDI Forms
I'm trying to disable a menu item when one of my children forms is selected. Everything I try seems to work for all forms within the MDI parent. How can I selectively work with a child?
-
March 20th, 2001, 03:30 PM
#2
Re: MDI Forms
I figured it out myself.
It requires that I build a separate menu for each form.
-
March 21st, 2001, 04:17 AM
#3
Re: MDI Forms
Hi,
I hope I understood your problem and this solution fits:
Within my programme I have a parent called frmMain and MDIs called MDITable and MDIGraph and they use different menus. I disable menus when a MDI is activated:
public sub Form_Activate()
frmMain.menu_item1.Enabled = FALSE;
frmMain.menu_item2.Enabled = FALSE;
end sub
and when the other MDIs are activated, I enabled those menus again.
mabrin
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
|