Cancelling a RList SELECT (OpenInsight Specific)
At 11 DEC 2001 11:14:33AM Richard Guise wrote:
As with everything in OI, I'm sure it's easy when you know how and I'm missing something very obvious….
When running quite a long process which I want the user to be able to cancel at any stage, much of the time is often taken in performing an RList SELECT. Is there any way to suspend or cancel this process whilst it is taking place?
In dear old ARev you just hit the Esc key and it asked if you really meant it (or was it the cat? - who hopefully couldn't type "Yes").
For the rest of the program there are already several useful discussion hints using Yield() and looking to see if a Cancel button has closed a "progress" screen (or whatever). It would be nice to find a way that such a button could also stop the RList SELECT.
Surely one of you bright sparks out there has a simple way of doing this.
At 11 DEC 2001 12:25PM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
Include a symbolic that does a yield() and checks for the existence of a window handle. If window handle exists continue else stop.
World Leaders in all things RevSoft
At 11 DEC 2001 03:17PM Steve Carlson wrote:
]Include a symbolic that does a yield() and checks for the existence ]of a window handle. If window handle exists continue else stop.
Do you include the symbolic as a field being "selected"??, and if so,could you provide and example of the symbolic that works…
Thanks.
Steve Carlson
At 12 DEC 2001 03:33AM Oystein Reigem wrote:
[notag]<http://www.revelation.com/8525652b0066bfaf/d739a1010f28f6798525656b00612ab1/31A2A2CC3E6595DA852563E400423719?OpenDocument>[/notag]
At 12 DEC 2001 10:23AM Richard Guise (Tornado Property Systems Ltd) wrote:
Thanks folks!
I'll try putting a suitable item in SYSDICT and it should then work for all files. I can even slip it into the "WITH" in the user's SELECT command in my T-List report writer (without the user knowing) so as to allow a during its SELECT processing.
However, it seems to me that OI should, like ARev, have an easier way.
RTI - are you there?
If the RList SELECT had appropriate Yield() embedded in it which looked at Get_Status() then all we'd have to do would be for a button to close the "progress" window and the CLOSE event Set_Status to 1.
Or is there already an "undocumented feature" something like this which RTI haven't told us about?
This technique could apply to any other time-consuming OI system processes. Or am I being impractical? There must be a simple way RTI could provide this very useful functionality - in the next OI Upgrade???? Please???