Move menus from form to form

mjcoon

Well-Known Member
Licensed User
I'm working on a derivative of GPS4PPS. The original uses similar controls on several forms, so it has a form that is never itself displayed but provides a repertoire of controls that are copied (moved, by ChangeParent(), really) to other forms in the latter's Show method.

I would like to use a similar mechanism to "copy" a template menu to multiple forms. Having tried it I get a run-time error that implies that menus are not "controls" that can have their parents changed.

I would therefore like a version of ChangeParent() that would work with menus.

Mike.
 

mjcoon

Well-Known Member
Licensed User
I would therefore like a version of ChangeParent() that would work with menus.

I still think that would be a Good Idea. But I have found that I can get the effect I wanted using Andrew Graham's MainMenu.dll library.

Mike.
 
Top