Ed Leafe wrote:
> On Apr 19, 2007, at 6:23 PM, Carl Karsten wrote:
> 
>> What is currently the best demo to look at to get a feel for how to  
>> use a .cdxml
>> file?
>       DaboDemo

Glad I asked.  this is way easier than i thought.

import dabo
app = dabo.dApp()
app.MainFormClass = 'uloop.cdxml'
app.start()

Now I have my GUI on the screen - yay!

But I don't see how to bind text boxes to anything.  here is my stab that I 
know 
won't work:

class uLoopBO(dabo.biz.dBizobj):

   def initProperties(self):
     self.host = 'localhost'
     self.user = 'testUserA'
     self.pw = 'pw'
     self.sqlCmd = 'select * from tbl1'

Given my new understanding of what a property is, im not sure if this is even 
the right method.

uloop.cdxml has the text/edit boxes datafield and source set to uLoopBO and 
host, user... but I haven't figured out how to instantiate the BO.

Should I keep looking in DaboDemo, or is there somewhere else, or am I working 
on it? :)

Carl K




_______________________________________________
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/dabo-users/[EMAIL PROTECTED]

Reply via email to