> I have two forms that must process the same menu item event.
> Each form has the Menu property set to the same menu.  Each form
> processes the menuItem slightly differently so I have an event
> handler in each form handler function.

i think your real question is, "does the event handler associated with a
form get called only for that for, or does it get called for every form
including the ones that aren't associated with it".  that's easy to figure
out by using the debugger.  but the answer is whatever the current form
event handler is, that's what gets called.  when you handle frmLoadEvent and
set the form event handler, that's the event handler that will get called
whenever your main event loop calls FrmDispatchEvent.


> I have tried using two different handlers (one for each form) to
> handle the same menu event for different form, but only one works.
>
> What am I missing?

something's busted relating to the one that doesn't work then.  that's where
i'd start looking.


Reply via email to