Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form calling class to update form
Message
 
 
À
15/09/2009 06:44:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01424434
Message ID:
01424437
Vues:
118
This message has been marked as the solution to the initial question of the thread.
>I have a form that calls methods in a custom class. In some of those methods is a SCAN...ENDSCAN where I would like to update a progress bar back on the form. So far I haven't been able to figure out how to call/update the progress bar on the form from the class method. It doesn't see THISFORM or the form name. I tried making the progbar a public object, created on the form and also created before the form. I've tried many different ways but just am not getting it right. I've been using the activex progbar but have several of the ones from the download section here on UT also. So getting an example to update any progress bar from a custom class back on the calling form would be a great time saver. Thanks.

I would suggest to pass a form object as a parameter to the method in question.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform