Copying Menus (OpenInsight 32-Bit)
At 02 APR 2010 06:22:54AM Chris Meyer wrote:
I have an MDI frame with a menu which is used for many hot key functions (F9 save, F3 zoom etc). All MDI childs use this common menu except for dialog boxes where the MDI menus are disabled.
How can I copy the menu from the MDI form to a Dialog type form. I dont want to design a menu for every dialog form.
TIA
Chris
At 03 APR 2010 11:16PM Barry Stevens wrote:
You would create a Master dialog window with the hidden menu structure that will be global.
In a promoted create event:
detect that it is a dialog windowread the menu structure from the 'global dialog window''add' it to the dialog's menu structure'destroy' then redisplay