Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine dimensions of form client area
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01413774
Message ID:
01413796
Vues:
72
>Jim,
>
>The sysmetric() calls the others gave will tell you the machine level screen metrics. You can see how big they have your application window with _screen.Height and .Width, and of any individual form by checking its .Height and .Width.
>
>>I think my question was a little too vague. What I am looking for are the height and width of the client area of a form at runtime.

Dave et al,

Thanks for your suggestions. You are probably wondering what I am trying to do. I have a form within another form. I was thinking about writing code so that the inner form would fill the client area of the outer form. It just dawned on me that I can set the WindowState of the inner form to 2 - Maximized, and it will fill the client area of the outer form regardless of size.

Jim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform