----- "Jacek Kałucki" <[email protected]> wrote: > Użytkownik Adrian Klaver napisał: > > I would create a dPanel, add the controls to them and then add the > dPanel to the dPage. Something like: > > > > > > class ProjectionPanel(dabo.ui.dPanel): > > > > def afterInit(self): > > self.ds = self.Form.getBizobj("public.projection") > > self.Name = "projection" > > self.RegID = "projectionPanel" > > self.Sizer = vs = dabo.ui.dSizer("v") > > vs.appendSpacer(10) > > > vs.append(dabo.ui.dLabel(self,RegID="ppPlantNameLbl",FontBold=True)) > > vs.appendSpacer(10) > > > vs.append(dabo.ui.dLabel(self,Caption="Projections",FontBold=True)) > > vs.appendSpacer(10) > > vs.append(ProjectionGrid(self),1,"x") > > > > > > > > class ProjectionPage(dabo.ui.dPage): > > def initProperties(self): > > self.Caption = "Projection" > > self.RegID = "projectionPage" > > > > > > def initSizer(self): > > self.Sizer = dabo.ui.dSizer("v") > > > > def afterInitAll(self): > > self.panel = self.addObject(ProjectionPanel) > > self.Sizer.append1x(self.panel) > > > > > > Of course I know that I can do that. > But it's an issue, so I will try to fix it first. > Thanks for suggestion. > > -- > Regards > Jacek Kałucki >
The issue is dPanel supplies the navigation framework. The fix is to have the controls on a panel. Adrian Klaver [email protected] _______________________________________________ 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/1373460035.234841260482364587.javamail.r...@sz0030a.emeryville.ca.mail.comcast.net
