Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anchor of a container in grid
Message
From
10/02/2012 13:58:25
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01535041
Message ID:
01535124
Views:
60
>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform