Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find height of toolbars
Message
 
To
04/01/2005 16:28:43
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00974203
Message ID:
00974249
Views:
23
>Hi All
>
>I need to position a form over another form and I am having a problem figuring out what the height of the toolbar is.
>SYSMETRIC(2)-_screen.Height = 50 with no toolbar
>SYSMETRIC(2)-_screen.Height = 79 with a toolbar.
>How can I calculate the height of the toolbar at runtime. My assumption is the first value can change depending on how the window is configured.
>
>Thanks

There's something you're not telling us. What does the _screen.height have to do with the position of either of the forms?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform