Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_vfp.AutoYield property
Message
 
 
À
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:
01388053
Vues:
38
>>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.

Yes, the form is modal so it should be set On and then Off only by this form. I just wanted to be sure that turning this property value on and off is not going to cause some side effects. Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform