Użytkownik Ed Leafe napisał: > No, because field validation calls the following method when it fails: > > def onFieldValidationFailed(self, ctrl, ds, df, val, err): > """Basic handling of field-level validation failure. You should > override it with your own code to handle this failure > appropriately for your application. > """ > self.StatusText = _(u"Validation failed for %s: %s") % (df, err) > dabo.ui.callAfter(ctrl.setFocus) > > So the control should have focus set back to it upon failure. Where > are you seeing the evt.stop() being called? >
And what about dDataControlMixinBase.__onLostFocus() event? -- Regards Jacek Kałucki _______________________________________________ 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]
