Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Progress bar
Message
From
22/05/2003 10:17:22
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Progress bar
Miscellaneous
Thread ID:
00791613
Message ID:
00791613
Views:
53
I want to include a progress bar in my form, how i can use with a count of a list box.
LOCAL OCR
LOCAL ORPT
cpath=ALLTRIM(THISFORM.TExt1.Value)
select repprint
with thisform.list2
 for i = 1 to .listcount
    if .Selected[i]
 	cReport1=ALLTRIM(thisform.list2.List(i))
  	crpt=cpath+creport1
	OCR = CREATEOBJECT("CrystalRuntime.Application")
	ORPT = OCR.OPENREPORT(crpt)
	thisform.label8.Visible= .t.
	thisform.label8.Caption=crpt
	IF ORPT.HASSAVEDDATA
		ORPT.DISCARDSAVEDDATA()
	ENDIF
	ORPT.PRINTOUT()
	cReport1=''
	crpt=''
   ENDIF
    GO i 
 ENDFOR
 thisform.label8.Visible= .F.
ENDWITH
Next
Reply
Map
View

Click here to load this message in the networking platform