herculanojs Posted July 29, 2016 Share Posted July 29, 2016 I am using this information yet this same zeroed After the login form, and show mainform Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 29, 2016 Share Posted July 29, 2016 Hi, Can you use onScreenResize event instead? Best regards. Quote Link to comment Share on other sites More sharing options...
herculanojs Posted July 29, 2016 Author Share Posted July 29, 2016 Needed information within a frame. Quote Link to comment Share on other sites More sharing options...
herculanojs Posted July 29, 2016 Author Share Posted July 29, 2016 some other way? I've tried to catch onScreenResize MainForm, but he was not redimenzionado. In some process I need to create some controls, and for this necessido know the resolution of the client. What is the cause of this UniSession.UniApplication.ScreenWidth zeroed? Quote Link to comment Share on other sites More sharing options...
x11 Posted June 24, 2021 Share Posted June 24, 2021 why? procedure TfmLoginForm.UniLoginFormShow(Sender: TObject); var s: string; begin s := UniSession.UniApplication.ScreenWidth.ToString + 'x' + UniSession.UniApplication.ScreenHeight.ToString; end; in S result is "0x0"? 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.