[Gambas-user] Autoresize in gridview
Benoît Minisini
gambas at ...1...
Sat Mar 9 23:17:22 CET 2013
Le 01/03/2013 13:45, Ricardo Díaz Martín a écrit :
> Hi Benoit,
>
> I think It could be good idea to add new property to gridview control
> related with AutoResize. The name could be something like
> ColumnToAutoResize (integer from 0 to gridview.columns.count).
>
> I try to explain:
> Sometimes you're filling a gridview in a resizable form and the row you
> want to autoresize when form width change is not the last one. Try to
> imagine this example:
>
> Id Card Name Amount
> 424250 Anibal Smith 50.000
> 124580 Mike Anders 10.000
>
> If you resize the form it will be nice that autoresize column will be
> "Name" instead Amount, isn't it?
>
> Regards,
> Ricardo
If you don't want the last column to automatically expand, you have to
explicitely define the Expand property of each column you want to expand.
Regards,
--
Benoît Minisini
More information about the User
mailing list