Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find height of toolbars
Message
From
05/01/2005 11:27:08
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
 
To
05/01/2005 01:23:49
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
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:
00974418
Views:
19
Thanks Dorin

I am doing that but I don't get the correct value. See the post I did for Barbara.

>Hi
>Send a reference of form 1 to form 2 as parameter. Then you will know the form1 coordinates
>
>
>>Barbara,
>>
>>The form1.top value has nothing to do with form2.top. I need to find where to set form2.top so it will be positioned where I want it over form1.
>>
>>>>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
Reply
Map
View

Click here to load this message in the networking platform