On Nov 9, 2006, at 3:57 PM, <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> wrote:
> Now I think that I've found the problem. The automagically-generated
> edit tab that appears when I add pumpPoints as a child is a
> PagEditPumpCurves object! Obviously I'm missing something in terms of
> getting the app to correctly relate my child table to the gui elements
> it has to add.
In your first message in this thread you have the line:
self.EditPageClass = PagEditPumpcurves
That means that when an edit page is added, it will be of that class.
You easily change that by changing the line that adds the page; an
option in the append() function is to specify the page class to use.
So your line would look like:
self.PageFrame.appendPage(self.BrowsePoints, pgCls=PagEditPumppoints,
caption="Browse Points", imgKey="browse")
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users