DataBind Controls

are there any samples in creating data aware controls?

I have a data object (class), I wanna bind the attributes of the object to a serials of controls in a dialog. when the object attributes changed, the values of the controls need to be changed automatically, and vice versa.

and how to do it with a ListCtrl ?

any idea will be appreciated :slight_smile:

···

抢注雅虎免费邮箱-3.5G容量,20M附件!

Hi,

光华 陶 wrote:

are there any samples in creating data aware controls?

This can be done with validators, see the wiki, e.g. page:
http://wiki.wxpython.org/index.cgi/Data-aware_Controls_with_Validators%2C_Note_1?highlight=(validator)

And as others pointed out Dabo is something to look at.
Werner

···

I have a data object (class), I wanna bind the attributes of the
object to a serials of controls in a dialog. when the object
attributes changed, the values of the controls need to be changed
automatically, and vice versa.
and how to do it with a ListCtrl ?
any idea will be appreciated :slight_smile:

------------------------------------------------------------------------
抢注雅虎免费邮箱-3.5G容量,20M附件! <http://cn.mail.yahoo.com>

the wiki is very helpful. thanks :slight_smile:
“Werner F. Bruhin” werner.bruhin@free.fr 写道:

···

Hi,

光华 陶 wrote:

are there any samples in creating data aware controls?

This can be done with validators, see the wiki, e.g. page:
http://wiki.wxpython.org/index.cgi/Data-aware_Controls_with_Validators%2C_Note_1?highlight=(validator)

And as others pointed out Dabo is something to look at.
Werner

I have a data object (class), I wanna bind the attributes of the
object to a serials of controls in a dialog. when the object
attributes changed, the values of the controls need to be changed
automatically, and vice versa.
and how to do it with a ListCtrl ?
any idea will be appreciated :slight_smile:


抢注雅虎免费邮箱-3.5G容量,20M附件!


To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org


抢注雅虎免费邮箱-3.5G容量,20M附件!