on 2007 Jul 11 11:54 AM
Hi All,
When I try to set value/text ProgressBar property in my event handle...sometimes it goes in error with this message
<b>call of service not succeeded : at SAPbouiCOM.ProgressBarClass.set_Value(Int32 pVal) at .. etc..</b>
or
<b>call of service not succeeded : at SAPbouiCOM.ProgressBarClass.set_Text(String pVal) at .. etc..</b>
this is the code:
Private Sub _Procedure_Elaboration(ByVal countAs Integer, ByVal totalCount As Integer) Handles _Procedure.Elaboration
If _ProgressCreated = False Then
_pBar = myApp.StatusBar.CreateProgressBar(String.Empty, totalCount , False)
_ProgressCreated = True
End If
_pBar.Text = String.Format("Elaboration {0}/{1}: ", count, totalCount)
_pBar.Value = count
End Sub
thanks a lot
best regards
Hi Eicef
Trying with:
_pBar.Text = String.Format("Elaboration /: ", count<b>.toString</b>, totalCount<b>.toString</b>)
I hope useful
Kinds Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
112 | |
8 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.