Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTP ActiveX and _VFP.Autoyield=.f.
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
FTP ActiveX and _VFP.Autoyield=.f.
Miscellaneous
Thread ID:
00186381
Message ID:
00186381
Views:
115
I use Mabry FTP control to download files using vfp. Id like to give a way for the user to stop or abort download. The code is something like this:

_VFP.Autoyield=.f.
start loop
get files using active x
_VFP.Autoyield=.t.
if inkey(.01)<>0
if lok('Stop Downloading?')
return to master
endif
endif
_VFP.Autoyield=.f.
loop
_VFP.Autoyield=.f.

problem is vfp will not process inkey or onkey label if Autoyield is false. placing Autoyield between inkey also doesnot work.

Is there any other way to do this?
Next
Reply
Map
View

Click here to load this message in the networking platform