on 10-03-2008 9:58 AM
Hi
I create a form and In that I take the 3 folders.each Folder have a different matrix.i assign this form to menu item .when i click the menu item it open the form but when click the folder the matrix was not open.What the problem.Please tell me
Hi Thippa Reddy Musturu
You need to catch et_Item_Pressed and change Pane Level in correspondence of pressed folder.
See how to do it in 07.ComplexForm SDK example:
SDK_Samples_2005\COM UI\VB.NET\07.ComplexForm\2003
Hope this can help you
Regards
Sierdna S.
P.S. ItemEvent Handler
Private Sub SBO_Application_ItemEvent( _
ByVal FormUID As String, _
ByRef pVal As SAPbouiCOM.ItemEvent, _
ByRef BubbleEvent As Boolean _
) Handles SBO_Application.ItemEvent
If FormUID = "MyComplexForm" Then
oForm = SBO_Application.Forms.Item(FormUID)
Select Case pVal.EventType
Case SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED
'//************************************************************
'// Check if the event was raised by one of the Folder items
'// and change the form's pane level
'//************************************************************
If pVal.ItemUID = "Folder1" Then
oForm.PaneLevel = 1
End If
If pVal.ItemUID = "Folder2" Then
oForm.PaneLevel = 2
End If
...
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.