finding & storing the field that *would* be next on closefield

Dr. Hawkins dochawk at gmail.com
Sat Oct 19 15:10:25 EDT 2013


I need to do some work when closeField happens.  Quite often, this will
mean sending a delayed message to redraw the entire card, as the object
whose handler is running will get deleted.  Storing the field I'm leaving
is not to bad, but is there a clean way to store where I *would* have gone?

This could come from
* tabKey  (not too hard, but annoying to calculate)
* a shift-tabKey
* an arrowKey or modified arrowKey in the first/last line of a field
* a click in another field (hmm, doesn't that make the other field "the
target"?)
* killing the card (OK, fine; don't need to go anywhere)

is there a clean way to find "the fieldImGoingTo of me"? :)
-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462



More information about the use-livecode mailing list