B
Bob Rundle
I working with an MDI application. This application has many child form
which have common menu operations.
For example ChildFormA supports Cut/Copy/Paste.
ChildFormB also supports Cut/Copy/Paste using completely different
semantics.
Now...
I could add an Edit menu to each child form. Each time the child form
becomes active the Edit menu is merged into the main form.
....Or...
I could have a single Edit menu on the Main form and somehow route the menu
events to the appropriate child form.
This routing business seems problematic however. Unless I want a big
if/then/else block in the mainform (I do not) then I will need to have a
base class form with common methods I can call from the main form.
Advice, Comments?
Regards,
Bob Rundle
which have common menu operations.
For example ChildFormA supports Cut/Copy/Paste.
ChildFormB also supports Cut/Copy/Paste using completely different
semantics.
Now...
I could add an Edit menu to each child form. Each time the child form
becomes active the Edit menu is merged into the main form.
....Or...
I could have a single Edit menu on the Main form and somehow route the menu
events to the appropriate child form.
This routing business seems problematic however. Unless I want a big
if/then/else block in the mainform (I do not) then I will need to have a
base class form with common methods I can call from the main form.
Advice, Comments?
Regards,
Bob Rundle