Jump to content

Recommended Posts

Posted

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.

snap083.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...