Screen size not updated

<< Click to Display Table of Contents >>

Navigation:  Forum >

Screen size not updated

Forum link

 


 

11-08-2022, 10:43 AM:

 

Hello!

 

When i create a form and put som controls on it aligned to top and bottom they are shown nicely as they should when the browser window is maximized. But if I scale the browser window the self.clientwidth / self.clientheight on the form are not updated. Instead there are scrollbars appearing in the browser window. How can I prevent this?

 

I always want the browser to report the actual size as a VCL for would and not show any scrollbars.

 

Best regards, Mikael