> tx1.DataSource = self.Form.objRegID
> tx1.DataField = "MyProp1"
> tx2.DataSource = self.Form.objRegID
> tx2.DataField = "MyProp2"
>
>       Then in the click handler, you write:
>
> obj = self.Form.objRegID
> obj.MyProp1, obj.MyProp2 = obj.MyProp2, obj.MyProp1
> self.Form.update()
>
>       Of course, if the handler is a method of the form, change the
> 'self.Form' to 'self'.
>
> -- Ed Leafe
Could you explain a little more.  Is it possible to set the DataSource of a 
textbox to a class.  If so - does objRegID refer to the class name or a Dabo 
regID?  So far in my classes I have not added a RegID attr as an identifier.  

The click handler I understand.
-- 
John Fabiani


_______________________________________________
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