>>>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.
>>
>>I just thought of an ugly workaround. I'll just maximize one form, get its height, then do the rearrangements. I can't think of anything else less complicated.
>>
>>Thanks for everyone's inputs.
>>Ramil 7/10
>
>Forgot to add, SYSMETRIC() helped a lot too. Thanks, Larry.
Ramil,
What is it exactly that you're trying to do? Simply setting the WindowState property to maximize will automatically properly size the form. If you're looking to mimic the Arrange option, I've a file ("Cascade/Tile Windows") that can automate the process here at the UT.
George
Ubi caritas et amor, deus ibi est