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

Add folder to General Settings form

Hi,

Is it possible to add a folder to general settings form?

Best Regards

Ana Silva

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 16, 2012 at 12:01 PM

    Yes it is. You can try this.

    Private Sub CreateFolder()

    Try

    Dim oItem As SAPbouiCOM.Item

    Dim oFolder As SAPbouiCOM.Folder

    oItem = frmMaintenance.Items.Add("FCR", SAPbouiCOM.BoFormItemTypes.it_FOLDER)

    oItem.Left = 7

    oItem.Width = 320

    oItem.Top = 132

    oItem.Height = 20

    oItem.FromPane = 1

    oItem.ToPane = 3

    oFolder = oItem.Specific

    'oFolder.Pane = 1

    oFolder.Caption = "Freight Charges Rates"

    oFolder.DataBind.SetBound(True, "", "FolderDS")

    oFolder.Select()

    oItem = frmMaintenance.Items.Add("OC", SAPbouiCOM.BoFormItemTypes.it_FOLDER)

    oItem.Left = 165

    oItem.Width = 320

    oItem.Top = 132

    oItem.Height = 20

    oItem.FromPane = 1

    oItem.ToPane = 3

    oFolder = oItem.Specific

    'oFolder.Pane = 1

    oFolder.Caption = "Other Charges"

    oFolder.DataBind.SetBound(True, "", "FolderDS")

    oFolder.GroupWith("FCR")

    Catch ex As Exception

    SAP_APP.SetMessage(ex)

    End Try

    End Sub

    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.