Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The proper use of the AutoYield property
Message
De
26/11/1997 10:11:12
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00062393
Message ID:
00062395
Vues:
44
>I'm trying to make my opinion on the good use of the Autoyield property. I've come to the following conclusion: generally you should leave it to its default value (.T.). But if you have use an ActiveX control on a given form, you should set _VFP.Autoyield = .F. in its init() and reset it to .T. in its Destroy() . Do you agree with this simplistic approach?
>
>Althought it should be much easier to set it to .F. at the top of the application, I've experienced that it generates at least refreshing problems.

When using Mabry and Catalyst FTP OCXs, I had to set it to .F. to be able to have the Progress() event fired. Otherwise, I would not have been able to show a progress bar.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform