Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_screen.height?
Message
 
 
To
09/07/2000 13:47:32
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00389965
Message ID:
00390056
Views:
14
That code is built into VFP and you have to be a member of the Fox team to see it.

You can get the titlebar height using one of the Sysmetric options and you can add that to you Form.Height.

>>>>_Screen.Height already subtracts that stuff away from to get the result.
>>>
>>>I thought so too. But when I have a form opened and set its height=_screen.height, the form goes all the way down and then some. Does it add everything it stripped back to my opened form?
>>>
>>
>>Because the form's Height doesn't include its titlebar, horizontal scrollbar, etc. So effectively, the full 'height' of your form is the height of the form + the height of it's title bar, scoll bars, etc.
>
>I'm trying to create a program that will arrange multiple open forms in a prearranged pattern. I have a simple logic that already works except for the forms' height.
>
>I would like to check out the code of the _mwi_arran OF _mwindow from the quick menu wizard and probably use a similar algo to set my forms' heights. Does anyone one where I can 'see' the code snippet of this menu option. Or does someone have an algo to generate the correct height?
>
>Ramil 7/9
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform