Re: scope puzzle with menus

2005-11-16 Thread Charles Hartman
On Nov 16, 2005, at 1:39 AM, J. Landman Gay wrote: Well, if you open the message watcher and then press and release a key you'll see something like this: rawKeyDown keyDown rawKeyUp keyUp Each of those is a different system message and each carries as a parameter the key you have pressed

Re: scope puzzle with menus

2005-11-16 Thread J. Landman Gay
Charles Hartman wrote: A keyUp message whose parameter is cmd-U is generated when I choose a menu item whose purpose is to open a substack. So it's generated before I have even opened the substack containing the card containing the field whose script contains the keyUp handler. That

scope puzzle with menus

2005-11-15 Thread Charles Hartman
I've got that incremental-search-in-a-sorted-field routine working the way I want it (thanks to all the help from this list.) So I decided to move it to my mainstack's script to avoid having a dozen copies in the scripts for the scrollable fields themselves. In the mainstack script there's

Re: scope puzzle with menus

2005-11-15 Thread J. Landman Gay
Charles Hartman wrote: I've got that incremental-search-in-a-sorted-field routine working the way I want it (thanks to all the help from this list.) So I decided to move it to my mainstack's script to avoid having a dozen copies in the scripts for the scrollable fields themselves. In the

Re: scope puzzle with menus

2005-11-15 Thread Charles Hartman
Jacque, I would not have thought of that in 127 days. Thank you! (I'm still a little puzzled. I still don't see why my script local variable is getting tampered with by something outside the script at all. I fear I'm missing a General Concept here.) Charles Hartman On Nov 15, 2005, at

Re: scope puzzle with menus

2005-11-15 Thread J. Landman Gay
Charles Hartman wrote: Jacque, I would not have thought of that in 127 days. Thank you! (I'm still a little puzzled. I still don't see why my script local variable is getting tampered with by something outside the script at all. I fear I'm missing a General Concept here.) Well, if you