Joe
  • Joe
  • Newbie Topic Starter
2014-08-04T19:44:44Z
Hi there I've just started using this grid with Access 2007 and so far have been quite impressed. One of the reasons I need this grid is to show potentially long portions of text in a cell. I can see that it can be done from the outlook example. However when I tried implementing it the row grew but the cell remains the same size and the text doesn't wrap. Where am I going wrong? Can you give me a simple example that should have it working with the correct properties set.

Thanks In Advance
Igor/10Tec
2014-08-05T06:57:08Z
By default iGrid does not use word wrapping in cells. You need to specify the igTextWordBreak text format flag to enable this. Perhaps, the best place to do that is the column default cell. In this case the specified format flag will be applied to all new cells created in this column automatically:

With iGrid1
   .AddCol
   .ColDefaultCell(1).eTextFlags = igTextWordBreak Or igTextEndEllipsis
   .RowCount = 1
   .CellValue(1, 1) = "Long long long text"
   .AutoHeightRow 1
End With