Re: Exiting a SCAN ENDSCAN



scan
<do something>
if inkey() = [your key code]
exit
endif
endscan


or
scan while inkey() # [your key code]
< do something >
endscan


On Wed, 25 Apr 2007 11:47:24 +0930, "gerald" <geraldweb@xxxxxxxxxxxxxxx> wrote:

I am running a slideshow as mentioned in an earlier post. That is working
very well.

In a table of many records ( images) the user would like to be able to EXIT
the SCAN loop at any time.

I have tried an ON KEY F9 EXIT and ON KEY thisform.release both inside and
outside the loop - nothing happens.

Any sugestions how to terminate the slideshow.

Regards

Bryan


.


Loading