Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create progressBar for Indexing and packing
Message
 
 
To
03/07/1998 01:14:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00113980
Message ID:
00113994
Views:
19
>Hi, I hav a no idea of creating a progress Bar using vfp5.0 for displaying the % completed during Indexing and packing. can anyone please advise me on this. Thanks

Use MS Progressbar Control.

Drop CommandButton and at Click Event issue:
nIctr = 100 &&ASSUMING 100 FILES
FOR ii = 1 TO nICtr
   USE mytable EXCL
   REINDEX 
   Thisform.oleProgressBar.Value = ii*(Thisform.oleProgressBar.Max/nIctr)
ENDFOR
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform