Using stacks as Dialogs
Posted: Thu Dec 03, 2009 11:53 am
I'd like to use a stack as a sort of input dialog box.
There would be various fields and radio buttons in the "dialog" stack.
I'd like my script to pause for input, show the "dialog" window and allow the user to input data.
When the user hits an "OK" button, or the return key, I would like the calling script to resume from where it paused and make use of the input data.
How would I set this up in Revolution? Is it possible?
(To be honest, my calling script will itself have been called through AppleTalk from Excel VBA, and my Excel macro, which treats it as a function, will be waiting for a reply from the calling script, detailing the results of this RunRev "dialog box." I find I am able to shunt the called and returned parameters back and forth easily enough between the two applications. But the Excel macro will only pause whilst the called script is running - which is why I want the Rev script to pause until the user hits "OK", then resume in order to return the newly entered params to Excel.)
There would be various fields and radio buttons in the "dialog" stack.
I'd like my script to pause for input, show the "dialog" window and allow the user to input data.
When the user hits an "OK" button, or the return key, I would like the calling script to resume from where it paused and make use of the input data.
How would I set this up in Revolution? Is it possible?
(To be honest, my calling script will itself have been called through AppleTalk from Excel VBA, and my Excel macro, which treats it as a function, will be waiting for a reply from the calling script, detailing the results of this RunRev "dialog box." I find I am able to shunt the called and returned parameters back and forth easily enough between the two applications. But the Excel macro will only pause whilst the called script is running - which is why I want the Rev script to pause until the user hits "OK", then resume in order to return the newly entered params to Excel.)