Jump to content

OnExit do UniEdit fica atrapalhado quando usado com o TUniSweetAlert.


eduardosuruagy

Recommended Posts

UniEdit's OnExit is hindered when used with TUniSweetAlert.

I have an edit and a code in the onexit event of that edit, if the edit does not have the data I want I send a message to the user through TUniSweetAlert and give an abort, after clicking on the ok of TUniSweetAlert the onexit event of edit is looped.

An example of the code inside onexit:

if edit.text = '' then
begin
   edit.SetfFocus;
   SAPquestion.Execute;
  Abort;
end;

Link to comment
Share on other sites

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...