On Apr 24, 2007, at 9:57 AM, Paul McNett wrote:

> I'll try to find some time today or tonight to see about getting this
> separation working. I just don't have much experience binding to
> anything other than bizobjs, so I had to futz around to figure out the
> DataSource=self.Form without quotes (could have sworn it was
> DataSource="form"). I think you should be able to do a:
>
> myObj = myClass()
>
> class MyForm(...)
>    def initProperties(self):
>      self.myObj = myObj
>    def afterInit(...)
>      dabo.ui.dTextBox(self, ..., DataSource=self.Form.myObj,...)

        If you already have a reference to the 'myObj', just set the  
DataSource to that:

dabo.ui.dTextBox(self, ..., DataSource=myObj,...)

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
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