On May 11, 2006, at 11:59 AM, Jaime Mora Ramones wrote:
def onHit(self, evt):
pf = self.Parent.Parent # pf is a dPageFrameNoTabs object
pf.appendPage("saldospage.cdxml") # saldospage.cdxml is a
dPage class
definition
Paged controls don't support .cdxml page classes yet. Could you add
this as a Tracker item? I don't have the time to work on this right
now, and I don't want to forget about it.
However, there is a work-around for now: create the page as a child
of the pageframe, and then append it to the pageframe. That might
seem redundant, but appendPage() takes either a page class or a page
instance.
newPage = pf.addObject("saldospage.cdxml")
pf.appendPage(newPage)
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users