pro_imaj Posted September 27, 2022 Share Posted September 27, 2022 Hi When I run the code below, the code in line 2 works and closes the form, without SubmitData in line 1 working. How do I get it to work sorted in Unigui? UniCanvas1.SubmitData; TuniForm(Owner).Close; Quote Link to comment Share on other sites More sharing options...
pro_imaj Posted September 27, 2022 Author Share Posted September 27, 2022 1 hour ago, pro_imaj said: Hi When I run the code below, the code in line 2 works and closes the form, without SubmitData in line 1 working. How do I get it to work sorted in Unigui? UniCanvas1.SubmitData; TuniForm(Owner).Close; I fixed the problem by adding the form close function to the end of the UniCanvas1AfterSubmit event. 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.