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()


-- Ed Leafe



_______________________________________________
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]

Reply via email to