Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form calling class to update form
Message
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:
01424458
Vues:
56
>Hi Ron,

>if the problem is that the progress bar doesn't change, make sure you call the Draw() method of the form that contains the progress >bar.

>if the problem is the reference to the form, there are two easy methods:

>a) You could pass a reference to THISFORM to the method in the custom object. Then use this reference to update the form, or
>b) You could create a EventProgressChanged method in your custom object that you call regularly. In the form use BINDEVENTS() >to link this method to a method on your form where you update the progress bar.
--
>

The class method isn't seeing the form or progress bar at all.
I'll try the first option and see how that works. Didn't think of that.
Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform