eduardosuruagy Posted August 25, 2020 Share Posted August 25, 2020 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; 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.