[Gambas-user] GridView Row Height

Fabien Bodard gambas.fr at ...626...
Sat Mar 14 18:28:11 CET 2015


Oups
Try
Gridview1.rows[i].Height=-1
Le 14 mars 2015 18:13, "Nikola Rogozarski" <n.rogozarski at ...626...> a écrit
:

> Thank's Fabien, I tried it, but it appears the following error :
> '_GridView1_Cell.Height ' Is read only
>
> On Sat, Mar 14, 2015 at 4:31 PM, Fabien Bodard <gambas.fr at ...626...>
> wrote:
>
> > Le 14 mars 2015 12:36, "Nikola Rogozarski" <n.rogozarski at ...626...> a
> > écrit
> > :
> > >
> > > Hello guys! Is there an example of how to setup the height of a row of
> a
> > > GridView, depending on the length of the content. I do not see
> properties
> > > of auto height. When filling the GridView I did this,
> > >
> > > For Each result
> > > GridView1[i,2].text = result!description
> > > GridView1[i,2].WordWrap = true
> > Gridview1[I,2].Height = -1
> >
> > > inc i
> > > Next
> > >
> > >  but without success.
> > >
> >
> >
> ------------------------------------------------------------------------------
> > > Dive into the World of Parallel Programming The Go Parallel Website,
> > sponsored
> > > by Intel and developed in partnership with Slashdot Media, is your hub
> > for all
> > > things parallel software development, from weekly thought leadership
> > blogs to
> > > news, videos, case studies, tutorials and more. Take a look and join
> the
> > > conversation now. http://goparallel.sourceforge.net/
> > > _______________________________________________
> > > Gambas-user mailing list
> > > Gambas-user at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
> ------------------------------------------------------------------------------
> > Dive into the World of Parallel Programming The Go Parallel Website,
> > sponsored
> > by Intel and developed in partnership with Slashdot Media, is your hub
> for
> > all
> > things parallel software development, from weekly thought leadership
> blogs
> > to
> > news, videos, case studies, tutorials and more. Take a look and join the
> > conversation now. http://goparallel.sourceforge.net/
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> 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