Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Microsoft Progress Bar SP6
Message
From
30/07/2003 05:53:03
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00814827
Message ID:
00814831
Views:
9
>I have a form with a combo box. In the interactive change event on the combo I have some code which basically counts certain records in a table and produces the results ini text boxes on my form. This obviously takes some time to do. Therefore I have placed the Microsoft Progress Bar on my form. Can anybody point me in the right direction as to how I get it working?
>
>Thanks in Advance

Assuming you named progress bar control PB :
thisform.PB.Max = youritemstoprocesscount
thisform.Pb.Value = 0

*As you process each item :

with thisform.Pb
  .Value = min( .Value+1, .Max )
endwith
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