Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On key label
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00155337
Message ID:
00155340
Views:
26
Dave,

Try putting a DOEVENTS command in your loop.

>I want to be able to stop my program during a while loop and have tried the following but it did not work.
>
>llgo = .t.
>ON KEY LABEL CTRL+HOME llgo = .f.
>do while !eof() and llgo = .t.
> .
> .
> code.........
> .
> .
> skip
>enddo
>
>Does anyone know what I'm doing wrong. Pressing the ctrl+home key
>does not me out of the while loop.
>
>TIA,
>Dave
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform