Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I create my own Status Bar for _SCREEN
Message
 
À
29/07/1998 06:32:51
Dmitry V.Glouzdov
LUKOIL (Nizhny Novgorod)
Nizhny Novgorod, Russie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00122234
Message ID:
00122238
Vues:
19
The progressbar control is very simple to use.

To illustrate, create a form with two controls: the progressbar and a commandbutton. Also, open a table to scan.

In the commandbutton, use this code:

With thisform.olecontrol1
.min = 0
.max = 100
endwith

currentrec = 0

Select foo && or whatever your table is called

scan
currentrec = currentrec + 1
Thisform.olecontrol1.value = (currentrec/recc())*100
endscan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform