Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

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 window
read the menu structure from the 'global dialog window'
'add' it to the dialog's menu structure
'destroy' then redisplay

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/1953b8c42635bb81852576f900390748.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1