[Gambas-user] Autoresize in gridview

Ricardo Díaz Martín oceanosoftlapalma at ...626...
Sun Mar 10 13:36:12 CET 2013


Thanks!!


2013/3/9 Benoît Minisini <gambas at ...1...>

> 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
>
>
> ------------------------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list