Datagrid Error

Trevor DeVore lists at
Mon Oct 3 09:24:07 EDT 2011

On Fri, Sep 30, 2011 at 1:08 PM, Marty Knapp <martyknapp at> wrote:
> It did occur every time, though I only tested on one Mac. I ended up
> rebuilding the stack which eliminated this problem, but a couple of times
> I've gotten another error when opening the datagrid stack (the error was not
> consistent):
> Line No:
> Hint: 238'
> 354,6192,0,_StoreColWidth
> On closeStack I do save the column widths to a custom property (of a
> writeable stack) and then on preOpenStack I set the column widths with these
> values. Could this be interfering with something?

Looking at line 6192 in the data grid library we find this line:

ThrowError kErrInvalidInteger, "invalid column width value '" & pValue & "'"

It looks like you are passing in a bad value for one of the column widths.

Trevor DeVore
Blue Mango Learning Systems    -

More information about the Use-livecode mailing list