I am writing a multi thread app where one of the worker apps has to update the job progress of the UltraWinProgressBar.As i have multiple UltraWinProgressbar's i want to write a Sub which will initialize the control. My code works fine with the original Windows progress bar but i cant find the equivalent of ProgressBar for UltrawinProgressBar which should be a type.
Private Sub InitializePB(ByVal form As Form, ByVal ctrl As Infragistics.Win.UltraWinProgressBar, ByVal pMin As Integer, ByVal pMax As Integer, ByVal pStep As Integer, ByVal pValue As Integer, ByVal pText As String) With ctrl .Minimum = pMin .Maximum = pMax .Value = pValue .Step = pStep .Text = pText End With End Sub
Hello Alex,
Thank you for contacting Infragistics!
UltraWinProgressBar is the namespace, the type for it is UltraProgressBar, for example if you were fully qualifying it:
Infragistics.Win.UltraWinProgressBar.UltraProgressBar
You can see the API for the UltraProgressBar here:UltraProgressBar