on ‎2010 Mar 30 5:53 PM
Hi experts,
I need help,
I have two problems
the first one is : i have 5 folders into my form but when my form is activate it's one folder which is activate the others are desable.
I must always load my form in screen painter before loading it in SBO menu.
the second is : when i change language i must reload my add-on. Because my add-on status is always "connected" but i can say it in SBO menu.
Regards.
Request clarification before answering.
Hi Gordon,
I have used 5 folders. I said that when my form is activate one folder is enabled and when i try to see the information in an other folder it's the editTextbox of the first folder which appear.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need to set the FromPane and ToPane properties of the controls present on each folder. Then the controls in each folder will be visible accordingly.
If the FromPane and ToPane for the first folder is set to 1 then all the controls present on that folder should have their FromPane and ToPane properties set to 1. For second folder the FromPane and ToPane should be set to 2 and same for the controls of the second folder and so on.
Then you need to set the FormPane property to 1 or 2 and so on. Then in item pressed event change the form pane as you wish.
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED Then
oForm = oSBOApplication.Forms.ActiveForm
If pVal.ItemUID = "tabRunTime" Then
oForm.PaneLevel = 1'first folder items will be displayed
End If
If pVal.ItemUID = "tabResDet" Then
oForm.PaneLevel = 2'second folder items will be displayed
End If
If pVal.ItemUID = "tabTstDet" Then
oForm.PaneLevel = 3
End If
End If
Hope this helps.
Regards,
Noor hussain
Edited by: noor_023 on Mar 31, 2010 11:05 AM
| User | Count |
|---|---|
| 23 | |
| 20 | |
| 18 | |
| 17 | |
| 10 | |
| 9 | |
| 8 | |
| 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.