Passing data to & from a window (None Specified)
At 20 DEC 1998 11:33:16AM Rick Todd wrote:
How do you pass data to and from a window called from a procedure?
At 20 DEC 1998 03:47PM Aaron Kaplan wrote:
Answer depends on what you want. For some things, just get_property from the calling window, which is passed into the routine. For others, you can sometimes pass in the current control or other information. Please elaborate and someone can give a detailed explanation.
akaplan@sprezzatura.com
At 21 DEC 1998 02:33AM dsig@teleport.com wrote:
Rick,
Most of the window creation processes have a PassedParam. The Create Event for a window has a PassedParam variable.
If both windows will be open at the same time then you can simply pass the name of the window that is calling. This would then allow you to get any data you want from another window.
I prefer to pass any data needed .. this allows me to set up a single routine for generating the data from the calling window for all windows it might generate. Seems like a little more control.
dsig@teleport.com
David Tod Sigafoos ~ SigSolutions
voice: 503-639-8080
At 21 DEC 1998 02:21PM Rick Todd wrote:
I hope that this will give you a better idea of what I am trying to acheive.
1) Execute a procedure
2) From the procedure call a non-table window allow the user to input data
3) Return to the procedure
4) Use the user input to process the rest of the procedure
At 22 DEC 1998 06:40AM amcauley@sprezzatura.com, [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Use the Dialog_Box function in conjunction with the End_Dialog function on the close/save event of the called dialog box.
amcauley@sprezzatura.com onmouseover=window.status=why not click here to send me email?;return(true)"
World Leaders in all things RevSoft