Connecting Tech Pros Worldwide Forums | Help | Site Map

Problems with Visual Inheritance & Menus

Matt
Guest
 
Posts: n/a
#1: Jul 17 '05
I have created an MDI child form that I am using as a base form in a VB.Net
MDI application. The base MDI child form has a series of menu options on
it. I then use this form to create other MDI child forms (using
inheritance). The problem is that the derived MDI child form's menu options
don't seem to have inherited the functionality from the base form (i.e. the
inherited menu options don't work).

If I place a command button or other control on the base form the
functionality from the base form is available on the inherited forms. Does
anyone know what might be wrong? Is there a known bug regarding MDI forms,
menus, and visual inheritance? Any help will be greatly appreciated.

Matt


Matt
Guest
 
Posts: n/a
#2: Jul 17 '05

re: Problems with Visual Inheritance & Menus


Some additional information:
I am using Visual Studio.Net 2003 and the current installed .Net
framework is 1.1.

"Matt" <matt@majecsoftware.com> wrote in message
news:aKyUc.7294$ni.4793@okepread01...[color=blue]
> I have created an MDI child form that I am using as a base form in a[/color]
VB.Net[color=blue]
> MDI application. The base MDI child form has a series of menu options on
> it. I then use this form to create other MDI child forms (using
> inheritance). The problem is that the derived MDI child form's menu[/color]
options[color=blue]
> don't seem to have inherited the functionality from the base form (i.e.[/color]
the[color=blue]
> inherited menu options don't work).
>
> If I place a command button or other control on the base form the
> functionality from the base form is available on the inherited forms.[/color]
Does[color=blue]
> anyone know what might be wrong? Is there a known bug regarding MDI[/color]
forms,[color=blue]
> menus, and visual inheritance? Any help will be greatly appreciated.
>
> Matt
>
>[/color]


Randy Birch
Guest
 
Posts: n/a
#3: Jul 17 '05

re: Problems with Visual Inheritance & Menus


This group is pretty well dedicated to classic VB. There are .net-specific
groups on the msnews server ... try

news://msnews.microsoft.com/microsof...dotnet.general
news://msnews.microsoft.com/microsof...t.languages.vb
news://msnews.microsoft.com/microsof....vsnet.general

--

Randy Birch
MVP Visual Basic
http://vbnet.mvps.org/
Please respond only to the newsgroups so all can benefit.


"Matt" <matt@majecsoftware.com> wrote in message
news:EMyUc.7295$ni.4167@okepread01...
: Some additional information:
: I am using Visual Studio.Net 2003 and the current installed .Net
: framework is 1.1.
:
: "Matt" <matt@majecsoftware.com> wrote in message
: news:aKyUc.7294$ni.4793@okepread01...
: > I have created an MDI child form that I am using as a base form in a
: VB.Net
: > MDI application. The base MDI child form has a series of menu options
on
: > it. I then use this form to create other MDI child forms (using
: > inheritance). The problem is that the derived MDI child form's menu
: options
: > don't seem to have inherited the functionality from the base form (i.e.
: the
: > inherited menu options don't work).
: >
: > If I place a command button or other control on the base form the
: > functionality from the base form is available on the inherited forms.
: Does
: > anyone know what might be wrong? Is there a known bug regarding MDI
: forms,
: > menus, and visual inheritance? Any help will be greatly appreciated.
: >
: > Matt
: >
: >
:
:

Closed Thread


Similar Visual Basic 4 / 5 / 6 bytes