>>
>>This is not hard in VFP9 with the new Anchor property.
>>
>>But the truly annoying thing is to scale the fontsize correctly.
>>
>>Fabio
>
>Anchor property? how it work? maybe I can get some idea from it, hehe! got any website link for it? I search the
http://msdn.microsoft.com/vfoxpro/ but get nothing about it! But I don't have VFP 9.0 also, I use VFP6 with SP5 only!
>
>BTW, most of your current VFP application can support one resolution only, right?
>
>Thanks for your reply!
Anchor have various settings (a Integer value = a combination of bits).
One of these, changes values L/T/W/H of an object in proportional ratio with to the value W/H of the parent object.
Therefore, when a form it is resized,
all the hierarchy of the contained objects and relative distances comes resized automatically.
Es:
Start with
Form W=200 H=100
TextBox L=10, T=10, W=100, H=100
Resize the form:
Form W=400 H=200
VFP fire a Textbox.Move(L=20, T=20, W=200, H=200)
Fabio