Stopping select in 3.5 (OpenInsight Specific)
At 16 NOV 1998 11:26:36AM David Salvesen wrote:
In AREV 3 it became possible to press ESC and therefore interupt a selection process. Is the same possible in OI (or rather OE as we are not using the front end but are talking to OE through REVCAPI or one of the other DLLs). I suppose more generally it would be very useful to be able to break into any program that is running (gracefully).
Any thoughts welcome.
At 16 NOV 1998 05:04PM Paul Rule wrote:
I'd love to know how to do that too. I miss being able to press Ctrl-Break.
A crude way of doing what you ask would be to include a symbolic in your select criteria that does nothing other that to check for a key press. So if, say escape is pressed then the symbolic could cause the select to abort. (Clearselect)
Try.
new.keystate=getkeystate(27)
You'll probably have to do the odd yield() as well.
I suspect that this will slow the select down too much though.
At 17 NOV 1998 04:50AM David Salvesen wrote:
Interesting idea Paul. I guess that it will slow things down too much as well but might be worth a try in any case. Thanks.