Re: detecting cell movement in a table

2015-06-27 Thread Phil Davis
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.

Re: detecting cell movement in a table

2015-06-27 Thread Richard Gaskin
Dr. Hawkins wrote: > I have handlers in the group that sometimes trigger on the > revUpDateCellValue, but none of the other handles ever trigger. > I have handlers like > > on revWhatever a,b,c,d > > ck a & cr & b & cr & c & cr & d > > breakpoint > > pass revWhatever > > end revWhatever > > > non

Re: detecting cell movement in a table

2015-06-27 Thread Peter Haworth
Sounds like Livecode tables are not very useful unless all you are doing is displaying data. I'm going to assume that when the user edits a cell, the text property of the table is updated with the new value. If so, you should be able to store the original contents of the table and compare the new

Re: detecting cell movement in a table

2015-06-27 Thread Dr. Hawkins
On Sat, Jun 27, 2015 at 1:03 PM, Dr. Hawkins wrote: > 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

Re: detecting cell movement in a table

2015-06-27 Thread Dr. Hawkins
On Fri, Jun 26, 2015 at 12:49 PM, Phil Davis 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 refe

Re: detecting cell movement in a table

2015-06-26 Thread Peter Haworth
+1 On Fri, Jun 26, 2015 at 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 > > > On Jun 26, 2015, at 12:19 PM, Dr. Hawkins wrote: > > > > On

Re: detecting cell movement in a table

2015-06-26 Thread Phil Davis
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

Re: detecting cell movement in a table

2015-06-26 Thread Jerry Jensen
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 > On Jun 26, 2015, at 12:19 PM, Dr. Hawkins wrote: > > On Fri, Jun 26, 2015 at 12:10 PM, Phil Davis wrote: > >> Do you mean a ch

Re: detecting cell movement in a table

2015-06-26 Thread Dr. Hawkins
On Fri, Jun 26, 2015 at 12:10 PM, Phil Davis 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 kno

Re: detecting cell movement in a table

2015-06-26 Thread Phil Davis
Do you mean a change to the data in a given cell, or a change of cursor location within the table? Phil On 6/26/15 12:05 PM, Dr. Hawkins wrote: is there a way to detect cell changes in a table? I've tried giving it a script for tabKey, returnInField, arrowKey, and enterInField, and it doesn'

detecting cell movement in a table

2015-06-26 Thread Dr. Hawkins
is there a way to detect cell changes in a table? I've tried giving it a script for tabKey, returnInField, arrowKey, and enterInField, and it doesn't get called; it appears that not even keyUp gets called. Or is this how a regular table is supposed to work? -- Dr. Richard E. Hawkins, Esq. (702)