Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Autoresize Grid Column
Message
 
To
09/07/2005 17:19:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01030837
Message ID:
01030960
Views:
21
>David,
>
>>Column resizing isn't a very clear cut thing at all.
>
>I could not agree with you more.
>

Me too.

What I did is having something like this for each column: A Minimun width, a Maximun with and the starting percentage (of the total width of the grid), then in the resize I adjust the width of each columns according to those values, is not perfect for every gird, and I barely use this, just in a couple of grids. You must also take into account that if the user manually adjusts one column's width, then you need to adjust those properties accordingly
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform