On Apr 3, 2007, at 3:33 PM, Larry Bradley wrote:

> 1. Why would one use (or not use)  a panel (other than the fact  
> that the
> docs say you need to use one in Windows?)

        One of the quirks in wxWidgets (on which the UI is based) is that  
tabbing between controls is a function of the panel, not the  
'frame' (their term for form). The 'frame' is actually well-named; it  
doesn't do much except stick a border around the stuff inside of it.

        Another use would be similar to the VFP Container class, where you  
want to create a class with a bunch of controls on it, and then stick  
it into various designs.

> 2. There are three page containers: PageFrame, PageList, and  
> PageSelect.
> PageFrame is obvious.

        It's only obvious to VFPers. In wxPython, it's called a Notebook.

        There's actually a fourth: dPageFrameNoTabs. What this is should  
*really* be obvious. ;-)

> What are the other two used for?

        They just present a different means of selecting the active page. I  
actually considered renaming dPageFrame to dPageTabs in order to be  
more consistent with the other controls.

        dPageList uses a list control, with each page's Caption as the item  
in the list; as you select different items, you show different pages.  
dPageSelect works the same way, except that it uses a dropdown list  
instead of a list box for the selection.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com



_______________________________________________
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/dabo-users/[EMAIL PROTECTED]

Reply via email to