Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to auto size grid columns
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00948300
Message ID:
00948313
Views:
16
Yes, a nice function, but have a one limitation - don't respekt properties

DynamicFontSize,DynamicFontName,DynamicFontBold, etc.

MartinJ

>How do I automatically size my grid columns so all the text fit?
>
>This is trivial in version 8 and higher:
>
>
>This.AutoFit()
>
>
>Of course, this only works for the visible portion of the grid, so if you want it automatically resize invisible portions of the grid as they come into view, you will need to write some more code to determine when the grid has scrolled and then call its Autofit() method.
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform