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 Leafe




_______________________________________________
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]

Reply via email to