Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Progressbar
Message
De
27/10/2003 13:19:22
 
 
À
27/10/2003 13:13:44
John Marrone
Bloodstock Research Inc.
Lexington, Kentucky, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00843078
Message ID:
00843148
Vues:
27
>Here is part of code that doesn't work.
>
>nR = 1
>DO WHILE ! FEOF(nHandle)
> nR = nR + 1
> vcStr = FGETS(nHandle, 8192)
>ENDDO
>DO FORM frmImpPrgBar
>frmImpPrgBar.pbImport.Min = 0
>frmImpPrgBar.pbImport.Max = nr
>frmImpPrgBar.pbImport.Style = 1
>frmImpPrgBar.pbImport.Value = 0
>
>On my form I put the progressbar and in the properties box none of the properties that I used in vb6 are listed.

ah, instead of referring to the properties on the control, you need to refer to the control's object property, e.g.
change frmImpPrgBar.pbImport.Min, etc.
to frmImpPrgBar.pbImport.object.Min

nice little interface change introduced in vfp7 :)
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform