Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anchor 15 causes all columns to resize
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Anchor 15 causes all columns to resize
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01525469
Message ID:
01525469
Vues:
230
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
Répondre
Fil
Voir

Click here to load this message in the networking platform