detecting cell movement in a table

Phil Davis revdev at pdslabs.net
Fri Jun 26 15:49:02 EDT 2015


On 6/26/15 12:28 PM, Jerry Jensen wrote:
> Bernd’s excellent modTableField manages it. I haven’t explored how its done, but in a modTableField, you can get a selectionChanged message. Its very useful!
> .Jerry

That's what I would do.

I turned on the messageMessages to see what messages are fired when 
using a table object. I got these:
revCalculateCellLoc
revCalculateCellRect
revCalculateCellSpacing
revCellDelay
revCreateCellField
revDeleteCellFields
revGetCellName
revGetCellRect
revMoveCellDirection
revMoveCellDown
revMoveCellRight
revReadCellValue
revUpdateCellValue
revWriteCellField

Phil


>
>> On Jun 26, 2015, at 12:19 PM, Dr. Hawkins <dochawk at gmail.com> wrote:
>>
>> On Fri, Jun 26, 2015 at 12:10 PM, Phil Davis <revdev at pdslabs.net> wrote:
>>
>>> Do you mean a change to the data in a given cell, or a change of cursor
>>> location within the table?
>>>
>> Either would work for me.  The table is a two-column free-form list of
>> values to be summed
>>
>> such as
>>
>> dog  5
>>
>> cat   7
>> 12
>>
>> So if I either know that that a value has changed, or there has been
>> movement, I could recall.  That text has changed at all, though, could
>> yield silly results (1 while entering 12, for example)
>>
>>
>> -- 
>> Dr. Richard E. Hawkins, Esq.
>> (702) 508-8462
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

-- 
Phil Davis





More information about the use-livecode mailing list