Nate Lowrie wrote:

> I have a dOkCancelDialog that I need to do some validation in.  When
> the user presses the Ok button, I need to be able to run some checks
> and evaluate whether the data is valid.  If it is not valid, I need to
> be able to stop the closing and relay the error to the user.
> 
> What is the syntax?  I didn't see a validation function perusing
> through the code so I thought I would ask.

After the fact (not what you want) you can query dlg.Accepted to see if 
the user pressed OK or cancel.

To override the closing of the dialog, so you can do it yourself, 
override dlg.onOK().

-- 
pkm ~ http://paulmcnett.com


_______________________________________________
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/dabo-dev/[EMAIL PROTECTED]

Reply via email to