Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to resize objects inside container in Grid column
Message
From
30/01/2006 20:19:14
Eugene Kolmakov
Millennium Technologies
Vladivostok, Russia
 
 
To
30/01/2006 05:29:41
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01091323
Message ID:
01091721
Views:
33
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform