Copy Menu items from MDI Frame to a Form (OpenInsight Specific)
At 24 MAY 1999 02:47:10PM CT Savell wrote:
Is there some way in which I can copy the hierarchy of Menu items from an MDI Frame to a standard Form (Window) so now it has the hierarchy of Menus?
At 26 MAY 1999 04:24PM [email protected] - [url=http://www.sprezzatura.com]Sprezzatura Group[/url] wrote:
Is this during runtime or design time? Best way is to read in the menu definition from the mdi form and write it into the other form.
Alternatively, you could save the MDI form as another name and delete the MDI frame from the form.
At 27 MAY 1999 07:45PM CT Savell wrote:
Thanks for your response. Actually, I was trying to use your second suggestion of saving the form to a new name and then deleting the MDI Frame, but couldn't do it. I was trying to delete the MDI Client and assumed that would do it. I obviously don't know what I am doing here.
At 27 MAY 1999 08:00PM CT Savell wrote:
Sorry, I forgot to answer your question. I am in Design mode creating a new application.
This is my first effort at OI so I may be off base. I started by making the Main menu (Form) to my application an MDI Frame, then accessed the child Forms from the Menu list using quick events and "Start-a-Window." I was at the point of trying to put a Bit Map in the Main menu when I ran into the MDI Client window causing me a problem in the display of the bit map in run mode, so I was trying to get rid of it. I reasoned that I really didn't need to have created the MDI Frame in the first place, but then I am new so I may be wrong on that point.
Any and all help is welcomed.
At 28 MAY 1999 11:23AM [email protected] - [url=http://www.sprezzatura.com]Sprezzatura Group[/url] wrote:
The only way I know to delete the MDI Client area is to do so from the editor. Your best bet is to destroy it in code, since the editor might add some CRLFs into the window definition.
At 28 MAY 1999 11:58AM CT Savell wrote:
Thanks again. I figured as much and Iam too new at this to try to do that, so my approach was to salvage as much of what I have already done and start over. Namely, I wanted to create a new SDI form and copy the Menus/Quick-events from the MDI Frame to the new form. This is where I got stuck: how to copy the Menus/Quick events to blank form from the MDI Frame.