Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find client area height?
Message
De
13/04/1998 10:12:55
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
13/04/1998 00:49:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00091439
Message ID:
00091518
Vues:
19
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform