Joined: 06 Feb 2008
Location: Watford, England
|Posted: Mon Apr 27, 2009 12:23 pm Post subject: $Form.Width and $Form.Height both return wrong values
|My screen is 1024x768 pixels.
After hiding the Taskbar, I maximise my $Form and the .Width & .Height properties return 1032x772 which are both wrong.
The .Width should return 1024, as the left and right-hand window edges disappear. The bottom portion of the screen is 1 pixel deep for the hidden taskbar and the title bar takes up about 25 pixels, so .Height should return either 768 for the full screen resolution or 768 minus the 26 pixels taken up by the top and bottom portions of the Window.
Please can someone explain what is going on ?
Also, is it possible to hide the title bar, so I can get my form full screen ?
The advanced settings of the display can only set the Title bar to as small as 20 pixels.