Preferred RunRev method to close a stack with Esc

mfstuart at cox.net mfstuart at cox.net
Tue Apr 11 12:24:31 EDT 2006


Hi all,

Two questions in one request...
I'm developing on WinXP and would like to know what is the 
preferred RunRev way to apply a close to a sub-stack when the end user presses the Esc key?

Scenario:
The application is database oriented, with the user double-clicking
on a table row to open a stack that displays all the fields,
and data related to that selected row.
The user is now on the sub-stack. If the user doesn't change
anything, and presses Esc, the sub-stack should close
with no warnings.
If the user has changed data, and then presses Esc,
I'd want to pop up an alert to the affect that they
need to save or cancel changes. 
How is this done in RunRev?

TIA,
Mark Stuart




More information about the use-livecode mailing list