KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

$Form.Width and $Form.Height both return wrong values

 
Post new topic   Reply to topic    KiXforms Forum Index -> Starters Code Clinic
View previous topic :: View next topic  
Author Message
Bill
KiXforms Novice
KiXforms Novice


Joined: 06 Feb 2008
Posts: 4
Location: Watford, England

PostPosted: Mon Apr 27, 2009 12:23 pm    Post subject: $Form.Width and $Form.Height both return wrong values Reply with quote

My screen is 1024x768 pixels.

After hiding the Taskbar, I maximise my $Form and the .Width & .Height properties return 1032x772 which are both wrong. Sad

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.

Best regards,

Bill
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Starters Code Clinic All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group