General information
Category:
ActiveX controls in VFP
Title:
FTP ActiveX and _VFP.Autoyield=.f.
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only