Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine dimensions of form client area
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01413774
Message ID:
01413796
Views:
73
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform