Ed Leafe wrote: > On Jan 24, 2009, at 11:52 AM, Bob Sysero llc Dev wrote: > > >> My question is how do I call the child Form and place it in my >> mainMenuButtonForm sizer or should it be a panel? >> >> How do I access the two forms by name to pass control? >> > > I'm not entirely sure that the best solution is to create separate > forms. They seem to be components of the same form. > > For this I might suggest the dPageFrameNoTabs container. It's like a > typical paged control, except the only way to change pages is via > programmatic control. The first page would be what you're calling your > main form, and the child forms would simply be additional pages that > you create and add to the pageframe as needed. If they all work > similarly by grabbing captions from the database, you could > conceivably make a page subclass that knows how to do these things, > and then create instances that are customized as necessary. > > This would also solve your access problem, as you could easily > maintain a reference to each page and activate it as needed. > > > -- Ed Leaf Thank you for the Idea and I am looking into your Idea. With the MDI on linux each page has a Tab and the problem is each form page has pageFrame with multi tabs within the Page Form. The dPageFormNoTabs looks like the way to work around this problem.
I am going to work on "How To Use Class Designer with menu Part I" and have you look over the email and make any corrections before I add it to the Wiki. Thank you Ed Bob _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
