Datagrid Error
Marty Knapp
martyknapp at comcast.net
Mon Oct 3 11:46:42 EDT 2011
Thanks Trevor - I'll take a look at that. The curious thing is that it
works fine 98% of the time.
Marty
> On Fri, Sep 30, 2011 at 1:08 PM, Marty Knapp<martyknapp at comcast.net> 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.
>
More information about the use-livecode
mailing list