Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find client area height?
Message
From
13/04/1998 10:12:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00091439
Message ID:
00091518
Views:
18
>Is there a function that returns the height of the client area in pixels? I tried SYSMETRIC(22) but the number returned was much less that the actual height. Also, SYSMETRIC seems to ignore the status bar... I need to know how much room I have with the status bar on.
>
>TIA
Try :
this.height=_screen.height - sysmetric(29) - sysmetric(4)*2 - 1
this.width=_screen.width - sysmetric(4)*2
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform