On 09/26/2010 08:28 AM, Ed Leafe wrote: > On Sep 24, 2010, at 7:17 PM, Nate Lowrie wrote: > > >> I am binding a control to a generic object with the >> DataSource/DataField stylings. The DataField is a property of the >> object that will throw errors on invalid input. Is there any way to >> catch the error and handle it via an event. >> > > Not directly, but perhaps something like: > > > def flushValue(self): > try: > super(MyControlClass, self).flushValue() > except SomeKindOfError: > handleIt() > Maybe we should handle Data binding errors an event. This is quite common.
Regards, Nate _______________________________________________ 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/[email protected]
