Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to auto size grid columns
Message
From
03/10/2004 07:39:03
 
 
To
03/10/2004 06:09:14
Michael Ouellette
Australian Technical Services (VIC) Pty
Australia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00948300
Message ID:
00948305
Views:
20
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform