On Jul 2, 2008, at 12:22 PM, Nate Lowrie wrote:
> I like the new handlers. However, I am still forced to override the
> _onOk method if I need to cancel the dialog for any reason, such as a
> validation failure. Would you be opposed to changing the behavior to
> return False if the dialog needs to stay visible (i.e. Validation
> Failure) or True if there is no problem and it can return? I took a
> look at the code and shouldn't harm the depreceated onOk.
You mean like:
if self.runOK() is not False:
self.EndModal(kons.DLG_OK)
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]