Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi all,

 

I have a mdi parent and some mdi child forms. When i open the mdi childs I put a mnuitem visible and rediochecked refering to the child form opened. Basicly its to have a way of navigate trought openned mdi windows. When i close de mdi form i want to hide the menu item that correspond to the closed child form. I wanna know how can i do this.

The problem is to access to the mdiparent reference to manipulate its controls.

 

Any help or code will be welcome.

 

Thanks a lot

 

Teixeira

  • Leaders
Posted
Is there any reason why you can't just use a window list? If so I would have the mdi parent handle child form's close and activate events and handle all the menu functions within the parent form.
[sIGPIC]e[/sIGPIC]
Posted

thanks but it don't solve my problem.... i think ... but if you can modify a listview perhaps you can modify other controls, by your way...

Please send me the code you have i'll try it..ok?

 

Thanks

 

Teixeira

  • Leaders
Posted
"Window list" was the name used in VB6. In .Net it is "MDI list," so I suppose I should have said that. Anyways, if you don't know what I'm talking about, add a new top level menu item to your mdi parent, and set the "MdiList" property to True, run the app, open some mdi children, then click the menu item on the menu bar.
[sIGPIC]e[/sIGPIC]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...