Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the difference between resizer and anchoring?
Message
From
21/01/2004 11:04:36
 
 
To
21/01/2004 10:43:13
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00869013
Message ID:
00869032
Views:
14
Hi John.

>What is the difference between resizer and anchoring?

They're related. When you resize a form, you usually want the controls on the form to do something: get larger or smaller, move left or right, move up or down, etc. "Anchoring" means that a control's size or position is adjusted as the form is resized by logically (not actually) anchoring the control to one or more edges of the form.

For example, if a control is anchored to only the right edge of a form, then as the form is widened, the control moves to the right. If the control is anchored to both the left and right edges of the form, then as the form is widened, the control does not move to the right (since it's anchored to the left edge and that hasn't changed) but instead becomes wider (since it's anchored to the right edge and that has moved).

I've written a couple of articles on this topic in FoxTalk, one that works in VFP 7 and earlier and one that's specific for VFP 8. Also, Microsoft has announced (and shown at several conferences) that Europa will natively support control anchoring.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform