dkeene Posted March 31, 2020 Share Posted March 31, 2020 Perhaps a more specific question on error handling. For TUniDBEdits and data aware components, is there a place that I can trap validation errors before they end up as an alert from Unigui? For example, assigning g45.45 to a field that is a number or an entry that causes EDatabase Validation error. In stead of showing up as an alert, I would like to provide better handling, for example set the focus on the Edit that caused the error... I Tried TApplicationEvents.OnException, but that did not work. Here is a screensnap. Quote Link to comment Share on other sites More sharing options...
dkeene Posted April 1, 2020 Author Share Posted April 1, 2020 anyone? Quote Link to comment Share on other sites More sharing options...
Freeman35 Posted April 1, 2020 Share Posted April 1, 2020 can use TUniDBNumberEdit or TUniDBFormattedNumberEdit Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.