Is is possible that the progressbar show a message in a erasing way, while in progress,...........?????????
Printable View
Is is possible that the progressbar show a message in a erasing way, while in progress,...........?????????
Some more explanation needed.....
I want that a message should show in the prograss bar, which will erased with the loading progress of the progress bar........... something like number of progress bers are showing % of loading in it.....is it possible to show message in a progress bar................???????????
uh, no. it is not. at best you can put a label over the progress bar. but it twon't erase.
-tg
edit - I suppose if you REALLY have the inclination, you can build your own. then you could make it do anything you want.
Normal ProgressBar won't allow the display of text(above the progress bar, just like you had seen in Setup programs). But thirdparty components are there, which provide this functionality.
If you want to display the text somewhere else(ie. not above the progressbar -> what I mean is text within the boundary of the progressbar is not possible), then you can show the Progressbar's value in a label followed by the "%"...
Example:
Code:Private Sub Timer1_Timer()
If ProgressBar1.Value < 100 Then
ProgressBar1.Value = ProgressBar1.Value + 1 '~~~> For incrementing the progressbar's value
Label1.Caption = CStr(ProgressBar1.Value) & "%" '~~~> For displaying the % in a Labelbox
Else
Timer1.Enabled = False
End If
End Sub