Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Progress bar
Message
De
22/05/2003 10:17:22
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Progress bar
Divers
Thread ID:
00791613
Message ID:
00791613
Vues:
51
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform