Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Showing a modal progress bar
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00616707
Message ID:
00616730
Views:
30
>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?

Move your code to the modal form :-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform