on 10-12-2010 1:29 AM
Hi Experts
I am using B1DE to do something like some item's enable status will be changed following the Form mode change.
For instance, add a new matrix into system form, if changing the Form mode to Find, I want to disable this matrix, if changing to Add mode, the matrix should be enable.
Do you how how to do this?
Thanks
Tim
Hi,
You need to capture Menu Event in your code and can make matrix either editable or non editable.
Sub MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean)
Try
Dim oForm As SAPbouiCOM.Form = objMain.objApplication.Forms.ActiveForm
If pVal.BeforeAction = False Then
If pVal.MenuUID = "1281" Then // For Find Mode
//make matrix editable or non editable
End If
End If
Catch ex As Exception
objMain.objApplication.StatusBar.SetText(ex.Message)
End Try
End Sub
regards:
Sandy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.