Versions des environnements
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement