Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How you designing resolution-independent forms?
Message
From
28/12/2004 16:19:26
 
 
To
28/12/2004 15:20:09
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP1
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00972655
Message ID:
00972705
Views:
21
>>
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform