[Gambas-user] Gridview row height question

Fabien Bodard gambas.fr at ...626...
Fri Aug 3 09:38:03 CEST 2012


2012/8/3 Richard Terry <rterry at ...1823...>

> Fabien Bodard wrote:
>
> All my gambas versions are 3.2 + (whatever the latest svn is)
>
> richard
>
> > 2012/8/1 richard <rterry at ...1823...>
> >
> >
> >> I seem to remember a posting in recent times about how to set the row
> >> height to automatically adjust to the height of wrapped text
> >>
> >> ?possible
> >>
> >> thanks in anticipation#
> >>
> >> Richard
> >>
> >>
> > it was about rows header... but everything can became possible as
> gridview
> > is in gb now.
> >
> > tell your needs
> >
> >
> >
> >>
> ------------------------------------------------------------------------------
> >> Live Security Virtual Conference
> >> Exclusive live event will cover all the ways today's security and
> >> threat landscape has changed and how IT managers can respond.
> Discussions
> >> will include endpoint security, mobile security and the latest in
> malware
> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> >> _______________________________________________
> >> Gambas-user mailing list
> >> Gambas-user at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >>
> >
> >
> >
> >
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



As a workaround,

Set the Row height at -1 after setting the text... I think Benoit need do a
little change at this part of code.

  gvwView[10, 0].RichText = "<b>G</b>ambas almost means BASic!<br>La nuit
tous les chats sont bleux!"
  gvwView.Rows[10].Height = -1


-- 
Fabien Bodard



More information about the User mailing list