Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Progressbar
Message
From
27/10/2003 13:19:22
 
 
To
27/10/2003 13:13:44
John Marrone
Bloodstock Research Inc.
Lexington, Kentucky, United States
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00843078
Message ID:
00843148
Views:
26
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform