I've created a derived MenuItem class. How do I get the Forms Designer MainMenu object to generate code which uses my MenuItems instead of the base MenuItems? Base MenuItems is ReadOnly how can I supress it
I've created a derived MenuItem class. How do I get the Forms Designer
MainMenu object to generate code which uses my MenuItems instead of the
base MenuItems? Base MenuItems is ReadOnly how can I supress it?
Thanks a lot Mr.Wagner.
Actually I am developing Custom Menus.I inherited MenuItem class but was
facing problem when i am inheriting MainMenu class. MainMenu Class is
having a MenuItems collection which is readonly and I can't assign
collecion of my MenuItem class derived from MenuItem??
Does this means that i have to develop my own menus can can't inherit
form MenuItem, MainMenu and Context Menu Classes.
Thanks a lot Mr.Wagner
Actually I am developing Custom Menus.I inherited MenuItem class but was facing problem when i am inheriting MainMenu class. MainMenu Class is having a MenuItems collection which is readonly and I can't assign collecion of my MenuItem class derived from MenuItem. I have to add a designer to this Inherited MainMenu Class which will take my inherited MenuItem Collection
Does this means that i have to develop my own menus can can't inherit form MenuItem, MainMenu and Context Menu Classes
Please suggest.
----- Herfried K. Wagner [MVP] wrote: ----
* "=?Utf-8?B?TmlsZXNoIFJhZGU=?= said:
I've created a derived MenuItem class. How do I get the Forms Designe
MainMenu object to generate code which uses my MenuItems instead of th
base MenuItems? Base MenuItems is ReadOnly how can I supress it
Actually I am developing Custom Menus.I inherited MenuItem class but was
facing problem when i am inheriting MainMenu class. MainMenu Class is
having a MenuItems collection which is readonly and I can't assign
collecion of my MenuItem class derived from MenuItem??
Actually I am developing Custom Menus.I inherited MenuItem class but was facing problem when i am inheriting MainMenu class. MainMenu Class is having a MenuItems collection which is readonly and I can't assign collecion of my MenuItem class derived from MenuItem. I have to add a designer to this Inherited MainMenu Class which will take my inherited MenuItem Collection
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.