Information générale
Catégorie:
Contrôles ActiveX en VFP
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement