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.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao