PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Elias Montoya on August 10, 2010, 02:08:42 PM

Title: MDI forms - how to add controls?
Post by: Elias Montoya on August 10, 2010, 02:08:42 PM
 Hello, is there a special move one has to do to be able to add controls to a newly added MDI form?
Right now i cant. I can paste controls, but once i paste them i cant move them around either.

Im guessing it is just a container tor MDI childs, but im new to this. Thanx.

By the way... my menu and toolbar donesnt show in an MDI form, help with that too?
Title: Re: MDI forms - how to add controls?
Post by: Rolf Brandt on August 10, 2010, 04:38:11 PM
Don't know about toolbars, but the menues of a MDIChild should by design always show up in the MDIParent form when a particular Child is active.
Title: Re: MDI forms - how to add controls?
Post by: Paul Squires on August 10, 2010, 05:10:56 PM
You can not add controls to the MDIParent in FF3 (or FF2 for that matter). This is similar to the way that VB handles MDI forms.

Not sure why you are not seeing a toolbar/menu. Have you looked at the MDIEditor example that comes with FF3?
Title: Re: MDI forms - how to add controls?
Post by: Elias Montoya on August 10, 2010, 05:14:51 PM

In the editor, they display correctly paul, but they dont show when compiled. I will take a look at the included example.

And FYI, i was able to add controls by pasting them. :)
Title: Re: MDI forms - how to add controls?
Post by: Elias Montoya on August 10, 2010, 05:18:20 PM
Oh oh.... Compiling the provided example shows the same problem, it has a menu and toolbar... but they dont appear in the compiled thing. Just an empty form.

Using 3.09
Windows XP.
Title: Re: MDI forms - how to add controls?
Post by: Paul Squires on August 10, 2010, 07:55:20 PM
Elias - you should download and re-install the 3.09 version. An early release of that version had a bug that would prevent menus, etc... being displayed when there were no other controls on a form. http://www.planetsquires.com/protect/forum/index.php?topic=2552.0