fraxzi Posted June 13, 2022 Share Posted June 13, 2022 Hi to all, I search the forum and looked at ClientSide Alignment - xxx.. But still not executing so I attached a simple test-case. @Sherzod, could you please assist.. Thanks, Frances test02.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 13, 2022 Share Posted June 13, 2022 Hi @fraxzi In your case try this trick: procedure TMainForm.UniFormScreenResize(Sender: TObject; AWidth, AHeight: Integer); begin if UniApplication.FormRegistered(TUniForm1) then UniForm1.WebForm.JSInterface.JSCall('center', []); end; 1 Quote Link to comment Share on other sites More sharing options...
fraxzi Posted June 14, 2022 Author Share Posted June 14, 2022 3 hours ago, Sherzod said: Hi @fraxzi In your case try this trick: procedure TMainForm.UniFormScreenResize(Sender: TObject; AWidth, AHeight: Integer); begin if UniApplication.FormRegistered(TUniForm1) then UniForm1.WebForm.JSInterface.JSCall('center', []); end; Hi @Sherzod, You are the Man! Thanks.. Works like a charm! Frances 1 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.