Versions des environnements
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement