Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Showing a modal progress bar
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00616707
Message ID:
00616812
Vues:
17
Hi Roi,

Your progress bar has to be modeless. BTW, in Download section here there is a ProgBar by Rick Borup, which I like and use everythere.

>I have a method in a form that is a long process. I would like to show a modal form with a progress bar to show the user how the process is going.
>
>ex:
oProg = newobject("progbar")
>oProg.minVal = 0
>oProg.maxVal = reccount()
>oProg.show(1)
>scan
>  oProg.curVal = recno()
>
>  ... do stuff ...
>
>endscan
>
>The problem is the modal part. VFP sits at the .show(1) and waits for the oProg form to be released.
>
>The only thing I can think of is to pass a reference of the current from and the method name to call to the progbar form and let the progbar call the method.
>
>Is there any other way? Anybody have any ideas?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform