Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread Multiple Errors When Adding a Column to a TGrid.
Thu, Oct 8 2015 1:43 AMPermanent Link

Steve Gill

Avatar

Hi Tim,

I had a TGrid with 5 columns.  When I tried to add a 6th column I got an error message (attached).  After that it was all downhill - several errors occurred one after another.  I restarted EWB but the errors came straight back.

I had to delete the grid and start again.

= Steve



Attachments: ErrorWhenAddingColumnToGrid.png
Thu, Oct 8 2015 1:47 AMPermanent Link

Steve Gill

Avatar

I created a new grid and get the same problem when the 6th column is added.  As you can see by the attached screenshot, the grid looks a bit weird when the 6th column is added.

= Steve



Attachments: ErrorWhenAddingColumnToGrid2.png
Thu, Oct 8 2015 1:53 AMPermanent Link

Steve Gill

Avatar

Some more information.  I can reproduce the problem every time.  Keep adding columns until they reach or exceed the width of the grid - errors will start happening.

= Steve
Thu, Oct 8 2015 2:24 AMPermanent Link

Malcolm Taylor

Steve Gill wrote:

> Hi Tim,
>
> I had a TGrid with 5 columns.  When I tried to add a 6th column I got
> an error message (attached).  After that it was all downhill -
> several errors occurred one after another.  I restarted EWB but the
> errors came straight back.
>
> I had to delete the grid and start again.
>
> = Steve

Hi Steve

This has been reported a few times and should be fixed in the next
build.
The workaround seems to be to make the grid really wide at design time,
size each new column immediately and only after all have been added can
you shrink the grid.  Just be sure not to add a column if there is not
enough room for its default width.

Malcolm
Thu, Oct 8 2015 3:54 AMPermanent Link

Steve Gill

Avatar

<< This has been reported a few times and should be fixed in the next
build.  >>

Thanks. Good to know.

= Steve
Image