Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What exactly is Autoyield
Message
De
17/12/2001 17:51:54
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00595364
Message ID:
00595382
Vues:
30
>When using ActiveX controls, some projects get "_VFP.Autoyield=.T.", while others stay at default. Have not seen a difference, except one time; execution appeared a "little" slow (when Autoyield was on).
>So how to use?
>Always use autoyield in projects with ActiveX? If so, where:
>1) At the top of the program - and leave it on
>2) On and Off only at ActiveX calls (settings and methods)
>3) Does it matter?
>
>Any example (or idea for one) that demonstrates (the affect of) Autoyield would be helpful!
>
>Stay tuned for:
>"What's lockscreen all about"? :-)
>
>Regards

AutoYield is set off for critical, non-interruptable processes. In most cases, you would want it on. I use credit-card authorization activex that requires AutoYield to be off.

1) not advisable
2) yes, maybe even off/on for specific method calls
3) yes if other system processes are active

HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform