Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the difference between resizer and anchoring?
Message
De
21/01/2004 12:07:57
 
 
À
21/01/2004 11:04:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00869013
Message ID:
00869087
Vues:
16
Hi Doug,

>>>>>>>>>>>>>>>>
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 Visual FoxPro 7 and earlier and one that's specific for Visual FoxPro 8. Also, Microsoft has announced (and shown at several conferences) that Europa will natively support control anchoring.

You known or think if VFP9 support all this types of anchored ?
a) control is anchored to the form
b) control is anchored to the parent object
c) control is anchored to a sibling object
d) group sibling controls is proportinal anchored to the parent object
e) group sibling controls is proportioal on a % weight anchored to the parent object

Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform