On Thu, 2014-01-02 at 14:34 +1100, Shane wrote:
> what is needed to get
> word warp height resizing working ? this is what i have
> 
> GridView1.Rows[Index].Height = -1
> GridView1[Index, 0].WordWrap = True
> 
> so wordwarp works but the height is not resized
> 
> ------------------------------------------------------------------------------

You have to set the row height to -1 in the Arrange event, not when you
load a cell.  

This is because of something like the runtime does not know what to do
with the row heights until it is all loaded.

I had the same problem some months ago, Beniot's explanation is
somewhere in the mailing list archives. I can only suggest you search it
for "gridview row height", but I do not remember the topic, sorry.

hth
Bruce


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to