Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I create my own Status Bar for _SCREEN
Message
 
 
To
29/07/1998 06:32:51
Dmitry V.Glouzdov
LUKOIL (Nizhny Novgorod)
Nizhny Novgorod, Russia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00122234
Message ID:
00122238
Views:
18
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
Previous
Reply
Map
View

Click here to load this message in the networking platform