Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FTP ActiveX and _VFP.Autoyield=.f.
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
FTP ActiveX and _VFP.Autoyield=.f.
Divers
Thread ID:
00186381
Message ID:
00186381
Vues:
114
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform