AntonioCuomo Posted May 1, 2019 Share Posted May 1, 2019 j have create a uniform with component tuniuploadile. the form has: uniform_upload.parent := uniform_main Uniloadfile.execute result false. If uniloadfile execute from uniform_main is true why? Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted May 1, 2019 Share Posted May 1, 2019 Can you please create a simple test case? Quote Link to comment Share on other sites More sharing options...
AntonioCuomo Posted May 2, 2019 Author Share Posted May 2, 2019 I tried a small test but it works fine. Unfortunately, my application is large and has many forms with the property parent = Unipanel3. modified the unifileupload unit: (with uses unitform1) function TUniFileUpload._Execute(Blocking: Boolean): Boolean; var ........ begin AdjustServerParams; FCanceled := False; FCacheFile := ''; FUploadForm := TUniForm.Create(UniApplication); FUploadForm.Position := poDefault; FUploadForm.Parent := UniForm1; <--------------------------------- and it run correctly. Tunifileupload should have the parent property for apllies at FuploadForm Antonio 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.