Hi,

I have a handcoded wizard that I use to import some data.

In the third page of the wizard I have the following structure of UI controls:

Wizard <dabo.ui.dialogs.Wizard>
--WizardPage3 <dabo.ui.dialogs.WizardPage>
----ms sizer, appended to the wizard-page's self.Sizer property, to
which I attach:
------controlssizer (with buttons, etc)
------pgfsizer, type dabo.ui.dSizer('h')

To the pageframesizer I add:
-------pfg = self.DataPageFrame = dabo.ui.dPageFrame(self,
RegID="WpgDataPageFrame")
-------pgfsizer.append1x(pfg)
-------pfg.appendPage(FileDataPage)
-------pfg.appendPage(DerivedDataPage)
-------pfg.appendPage(ModulesPage)

In all of the above PageClasses, I simply add a grid to the page's self.Sizer.


This *works perfectly fine* if I attach the wizard page to a TestStage
dForm (even within a dPageFrameNoTabs), but when I use the wizard page
in a wizard, *I do not see anything in the grids*.

I can easily attach other things to the pages in the pageframe, e.g.
labels, buttons, etc., and those are visible. It is just the dGrid.

There is a scroll-bar in the right side of where the dGrid usually is,
which indicates that there is data in the grid, and the the grid's
DataSet is also filled -- it is just not visible!

I have tried a lot of refactoring of the code, e.g. moving the
instantiation from createBody to onPageEnter, etc.
Tried to force-filling, refreshing, show()ing and updating the grid at
the end of onPageEnter.
Run the TestStage as a modal form works, so that could hardly be the issue.

Every time it comes down to the same conclusion: it works in dForm but
not in the Wizard.

I have tried for half a day to debug, and I cannot seem to find the
problem, so really need some fresh inputs on this :-S




Thanks in advance,

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