Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to resize objects inside container in Grid column
Message
De
30/01/2006 20:19:14
Eugene Kolmakov
Millennium Technologies
Vladivostok, Russie
 
 
À
30/01/2006 05:29:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01091323
Message ID:
01091721
Vues:
32
Hi Fabio!
Thanks a lot for your help.

Indeed ObjToClient() function returns wrong values in case of grid cell.
I used your idea to put container into another container and it makes Anchor property work!

I use BindEvent() function in my container to bind it to Column's Resize event and Column.Width property - to determine the new size (width) of my container when column gets resized. This way it works.

Maybe this might be useful for somebody else who tries to do the same.
Eugene
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform