Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How does Progressbar work?
Message
From
03/06/2003 12:05:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
03/06/2003 11:24:16
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00795703
Message ID:
00795738
Views:
13
>I have tried to add a progressbar to a screen and can't figure out how to make it work (this IS embarrassing). All I'm trying to do is show the progress while scanning through a fairly large table. I've given up. Please help.
>
>Thanks,
>Larry Morelli
*Starting scan
with thisform.oPbar
 .Max = reccount('HugeTable')
 .Value = 0
endwith
scan
*....
 if recno()%1000 = 0 && No need to update per record
   with thisform.oPbar
    .Value = min(.Value + 1000,.Max)
   endwith
 endif
endscan
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform