Skip to Content
author's profile photo Former Member
Former Member

Determining PaneLevel of a (dynamically added) Folder in a System Form


I want to add a new folder(tab) in Sales Order Form.

I need to add few more items in that tab.

I could add the folder.

But, when adding items to that new tab, I don't know what value to set for the FromPane and ToPane properties.

Please help me with this.

Private Sub CreateTab()


oFolderItem = AddFolder(TabFolderID, "SH", "138")

oItem = objForm.Items.Add(EdtID, SAPbouiCOM.BoFormItemTypes.it_EDIT )

oItem.FromPane = ?

oItem.ToPane = ?

End Function

Private Function AddFolder(ByVal strFolderId As String, ByVal strFolderName As String, ByVal strReferenceFolderID As String) As SAPbouiCOM.Item


return FolderItem

End Function



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jun 18, 2008 at 04:53 PM

    Hi Geetha,

    it's up to you to manage the panelevel - it's like all panelevels (about 24) exist every time.

    the trick is that you catch the item_pressed event on your folder and set the

    panelevel manually !

    so decide to give the items the panelevel you want and use for example

    oForm.PaneLevel = 10 when you click the folder to make them visible.

    lg David

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.