Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_vfp.AutoYield property
Message
De
14/03/2009 10:08:01
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01387992
Message ID:
01388041
Vues:
58
>Hi,
>
>I use Outlook-type menu in my application based on the dbiTech menu ActiveX control. In order for this ActiveX control to work I have to set _vfp.AutoYield to .F. at the top of the application. But then in order for some other form of the application to recognize DOEVENT or Esc, I need to set _vfp.AutoYield to .T. My question is, will there be a problem if for those forms where I need _vfp.AutoYield to .T. I do so in INIT method and then set it back to .F. in the UnLoad method?

Are the forms modal? If not, it could get set back by another form or prg. I've tended to turn it on/off as needed but keep it very tightly coupled to where it needs to be.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform