Jump to content

UniSession.UniApplication.ScreenWidth - Help


Recommended Posts

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?

Link to comment
Share on other sites

  • 4 years later...


procedure TfmLoginForm.UniLoginFormShow(Sender: TObject);
 s: string;
  s := UniSession.UniApplication.ScreenWidth.ToString + 'x' + UniSession.UniApplication.ScreenHeight.ToString;

in S result is "0x0"?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...