Bryan - Gendev
Programmer
Following a request from one of my users I added a label above the moving progress bar to show percentage throughout out the running of the bar. Previously the percentage was in the middle of the bar and disappeared when the blue bar got past halfway.
Now a user is pointing out the redundancy of the central percentage display as it is overwritten past halfway.
I won't repeat the whole class code as it's well known but in the ProgrammaticChange method
Could someone plesae help me with the code to suppress the percentage under the progress bar?
I have tried with no success.
GenDev
Now a user is pointing out the redundancy of the central percentage display as it is overwritten past halfway.
I won't repeat the whole class code as it's well known but in the ProgrammaticChange method
Code:
Procedure Progress1.ProgrammaticChange
* 380 is the Max width of the Progress Bar when 100% completed.
Set Cursor Off
This.Parent.ProgressBar.Width = (This.Value * 380)/100
This.Parent.ProgressPercent.Caption = Transform(This.Value)+'%'
This.Parent.lblProgress.Caption = 'Progress '+Transform(This.Value)+'%'
Inkey(0.0001)
endproc
Could someone plesae help me with the code to suppress the percentage under the progress bar?
I have tried with no success.
GenDev