#1008: How to handcode the layout of attached cdxml?
-------------------------+--------------------------------------------------
  Reporter:  uwe_grauer  |       Owner:  somebody
      Type:  task        |      Status:  new     
  Priority:  minor       |   Milestone:  1.0     
 Component:  demos       |     Version:          
Resolution:              |    Keywords:          
-------------------------+--------------------------------------------------
Comment (by anonymous):

 Replying to [comment:12 uwe_grauer]:
 > Replying to [comment:10 uwe_grauer]:
 > > Replying to [comment:9 paul]:
 > > > Replying to [comment:4 uwe_grauer]:
 > > > > Replying to [comment:3 paul]:
 > > > > > See attached .py file. Run it and study the code. Let me know if
 it helps or not...
 > > > I think we must change my code to use MaxCols and
 > > > MaxRows instead, but I'm still not sure why the cdxml specified
 "Columns" and "Rows".
 > > >
 > > Did this change too.
 > > Now there is still no Connection.
 > > I didn't understand what Ed said about CxnFile, CxnName.
 > > Should i get a connection with this?
 >
 > Why does CxnFile, CxnName work in CD but not in code?
 >
 > Should i set the Connection myself in initProperties of my Form?
 >
 > Please help as i do not understand the differences between CD and code.

 Uwe, try moving those from initProperties into the call to the
 constructor. IOW, down at the very bottom change the block to:

 {{{#!python
 if __name__ == "__main__":
         app = dabo.dApp(MainFormClass=None)
         app.setup()
         frm = EtypEnumForm(CxnFile="path://fwadm.cnxml", CxnName =
 "fbtool_dev")
         frm.show()
         app.start()
 }}}

-- 
Ticket URL: <http://svn.dabodev.com/trac/dabodemo/ticket/1008#comment:14>
Dabo Demo <http://svn.dabodev.com/trac/dabodemo>
Trac Page for Dabo Demo


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]

Reply via email to