datagrid message

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
kevin11
Posts: 101
Joined: Thu Aug 11, 2011 5:02 pm

datagrid message

Post by kevin11 » Fri Jan 13, 2012 6:31 pm

Hi,

I have a datagrid that seems to be working fine. However, whenever I visit the card that contains the datagrid, I get the following in the message box :

89,8781,22,dgAlternatingRows
77,8781,22
449,8781,9
535,8781,1
253,8759,1
241,8759,1,_DrawAlternatingRows
353,0,0,button id 1005 of group id 1004 of card id 1002 of stack "C:/Documents and Settings/Administrator/Application Data/RunRev/Components/LiveCode 4.6.3/Toolset/revdatagridlibrary.rev"
573,87,1
253,86,1

I am not asking anywhere for this to be displayed, and I can't get rid of it. If it is some sort of error message it is a particularly meaningless one.

Any thoughts please ?

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: datagrid message

Post by mwieder » Fri Jan 13, 2012 6:41 pm

Define "working fine" :lol:

If it helps any, the thrown error of 89 is "no such object". It's being issued from the datagrid library at line 8781 (that's probably not much help), and the 573 error is "can't find handler" in line 87 of some script, possibly one of yours. Did you put code in the datagrid behavior script?

kevin11
Posts: 101
Joined: Thu Aug 11, 2011 5:02 pm

Re: datagrid message

Post by kevin11 » Fri Jan 13, 2012 8:00 pm

mwieder wrote:Define "working fine" :lol:

If it helps any, the thrown error of 89 is "no such object". It's being issued from the datagrid library at line 8781 (that's probably not much help), and the 573 error is "can't find handler" in line 87 of some script, possibly one of yours. Did you put code in the datagrid behavior script?
By "working fine" I mean everything performs the way I want, and looks how I want.
My line 87 in the behaviours script merely puts a value into a variable, and commenting it out has no effect on the error message.

Looking at the datagrid library source code line 8781, it is complaining that about line :

set the text of image "dgAlternatingRows" of me to empty

so presumably it is complaining at the lack of an object "dgAlternatingRows". I do not believe I have created, amended, or deleted such a graphic. Do you know where I can get such an object ? Is it an optional purchase I have to make ? ;)

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: datagrid message

Post by mwieder » Fri Jan 13, 2012 8:18 pm

Hmmm. The "dgAlternatingRows" image is part of the datagrid group. So unless you deleted it somehow it should still be there. I suppose you might uncheck "alternate row colors" for the datagrid and see if the error goes away. That might give some clue as to what's going on.

kevin11
Posts: 101
Joined: Thu Aug 11, 2011 5:02 pm

Re: datagrid message

Post by kevin11 » Fri Jan 13, 2012 8:44 pm

Good idea. My alternating row colours was always unchecked anyway.
If I now check it, I get alternating row colours, and the error message.

If I uncheck it, I don't get alternate colours, but the error message has gone away.

Quit the stack having saved it, reload
Checking alternates back on, no error message.
Turning off, no error message.

Can't do anything to get that error message back now.

However, this happened at the same time as I turned up the central heating, so it could well be temperature related.

Post Reply