Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Microsoft Progress Bar SP6
Message
De
30/07/2003 05:53:03
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00814827
Message ID:
00814831
Vues:
10
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform