detecting cell movement in a table

Phil Davis revdev at pdslabs.net
Sat Jun 27 20:15:29 EDT 2015


Here ya go, Doc - a new toy just for you (and anyone else who wants it)! 
I'll leave it up there for at least a month.

https://www.dropbox.com/s/6u07xwhpp6j3buv/messageMessages%20lab.livecode?dl=0

I don't remember how I learned about the messageMessages, but maybe from 
Richard Gaskin? Not sure. It was long, long ago, in a land far, far away....

Phil


On 6/27/15 1:03 PM, Dr. Hawkins wrote:
> On Fri, Jun 26, 2015 at 12:49 PM, Phil Davis <revdev at pdslabs.net> wrote:
>
>> That's what I would do.
>>
>> I turned on the messageMessages to see what messages are fired when using
>> a table object. I
>>
>
> Wow.
> 1) How do I do that?
> 2) How did you even *think* to do that?
>
> The dictionary, user guide, web are devoid of references to messageMessages
> and revCel . . .
>
>
>> got these:
>> revCalculateCellLoc
>> revCalculateCellRect
>> revCalculateCellSpacing
>> revCellDelay
>> revCreateCellField
>> revDeleteCellFields
>> revGetCellName
>> revGetCellRect
>> revMoveCellDirection
>> revMoveCellDown
>> revMoveCellRight
>> revReadCellValue
>> revUpdateCellValue
>>
> I'm managing to catch this one, and do some updating.   Now I have to
> intercept tab, etc.
> to do sane navigations . . .   a simple regal was able to change each of
> these into a handler with 4 variables, a breakpoint, and a pass . . . but
> none seem to fire as I maneuver around it (they *would* reach the group
> holding the table, wouldn't they?
>
> This one I have trapped already:
>
>> revWriteCellField
>>
>
> So I am (usually) able to recall.
>

-- 
Phil Davis





More information about the Use-livecode mailing list