Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anchor of a container in grid
Message
De
10/02/2012 13:58:25
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01535041
Message ID:
01535124
Vues:
52
>Hi,
>
>I have a grid in a form that has one column, container (container that has a bunch of controls, text box, edit box, etc.). I think this would be referred as a multi-field grid or something like this. This grid is used for view only. I set the anchor of the grid to expand vertically and horizontally and it works. But I also want the container inside the grid to expand. I set the anchor of the container which is used in this grid to 15. Then, additionally, I set the anchor of this container in the grid (that is drilling down to the property of this container in the grid) to 15 too. Yes, the grid does not expand. What am I missing?
>
>TIA.
>
>UPDATE. I think I am beginning to understand why it won't work. It looks like the Column object of the grid does not have Anchor property. Therefore, the grid column is fixed and not "anchor-able."

Perhaps you can use code within the Resize() event of the grid that changes the RowSize?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform