hi..
oApplication.StatusBar.SetText("Connecting Contract Order with the Company....... Please Wait.......", SAPbouiCOM.BoMessageTime.bmt_Long, SAPbouiCOM.BoStatusBarMessageType.smt_Success)
you can use above code....
but u have to use..... item click event or got focus event or lost focus event
Try
If (pVal.BeforeAction = False And pVal.ItemUID = "youritemuid" And pVal.FormUID = "yourformuid" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_LOST_FOCUS) Then
oForm = oApplication.Forms.Item("yourformuid")
oApplication.StatusBar.SetText("Connecting Contract Order with the Company....... Please Wait.......", SAPbouiCOM.BoMessageTime.bmt_Long, SAPbouiCOM.BoStatusBarMessageType.smt_Success)
End If
Catch EX As Exception
oApplication.MessageBox(EX.Message)
End Try