So something interesting is happening that forces LC to complete shut down!
I have a data grid form with little arrows (a form of scrollbar). I'm new to little arrows but discovered the message that is sent when the "increase" and "decrease" arrows are clicked. So, not knowing how that handler would trigger in a datagrid, I added this code to the group:
Code: Select all
on scrollbarLineDec
answer the long name of me
end scrollbarLineDec
Code: Select all
on scrollbarLineDec
put the dgHilitedLines of me into tLine
put the dgText of me into tData
set the itemdel to tab
put item 2 of line tLine of tData into x
put x into item 2 of line tLine of tData
set the dgText of me to tData
end scrollbarLineDec
Code: Select all
set the text of field "Text" of me to pDataArray["label 1"]
set the text of field "Score" of me to pDataArray["label 2"]
Any idea why?
Also, what is the proper place to put scrollbarLineDec and scrollbarLineInc in order to update the text of a different object in the same line? or is there a better way to do this?