Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anchor 15 causes all columns to resize
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Anchor 15 causes all columns to resize
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01525469
Message ID:
01525469
Views:
228
Hi everybody,

I have a complex class with a container and a grid inside. In the class the Anchor setting is default (0). Also there is code in the class that sets Column's width to 100. I commented out all AutoFit code in the class. The grid in this container is based on another class which only has Init method coded with nothing in regards to width.

In the form I set container's Anchor to be 15, inside container to be 15 and grid's anchor to be 15. In run-time I observe that when I re-size the form all grid columns change their size as to fit into the space allotted.

Do you know why I'm seeing this behavior and how can I preserve the width of the columns?

Thanks a lot in advance.

UPDATE. Disregard. Found code in grid's Resize!
If it's not broken, fix it until it is.


My Blog
Reply
Map
View

Click here to load this message in the networking platform