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

More than two tab's (Folder)

Hello,

I have created a two tab’s (Folder) inside of the customer order. Now I need to create a third one, and when I send the commands to SAP B1 to create the third tab, the matrix that I load inside of this third tab don’t respond to any command of size and position that I give it. Also it reacts when I click on the other tabs.

Thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 12, 2007 at 02:17 PM

    We have that in the code and is correct, but still behave bad.

    This is part of the code:

    Private oSeparacionForm As SAPbouiCOM.Form

    '

    'Lengueta Carta Promesa de Pago (CPP)

    oItem = oSeparacionForm.Items.Item("F_CL")

    oNewItem = oSeparacionForm.Items.Add("F_CPP", SAPbouiCOM.BoFormItemTypes.it_FOLDER)

    With oNewItem

    .Top = oItem.Top

    .Height = oItem.Height

    .Width = oItem.Width

    .Left = oItem.Left + oItem.Width

    .AffectsFormMode = False

    oFolderCL = .Specific

    End With

    oFolderCL.Caption = "C.P.P."

    oFolderCL.GroupWith("F_CL")

    How can I send you a screen shot of the screen?

    Best regards.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      The FromPan and ToPane properties are important for the "visual reaction" of the controls inside each particular tab.

      Can you post the code where you are creating the matrix and setting it? I believe that you are running into a bug at some point and that's why the matrix it's not getting set properly.

      In any case try setting a break point when the matrix it's been created to see it its the case

  • author's profile photo Former Member
    Former Member
    Posted on Jul 11, 2007 at 08:35 PM

    Yaco ...

    Check the <b>FromPane </b>and <b>ToPane</b> property settings of the Matrix. I could be that it is not pointing to the right Tab Pane. If you did it in the screen painter.

    Otherwise you have to set these by code, like this ...

            Dim oItem as SAPbouiCOM.Item = oForm.Items.Item("mat")
            Dim objMatrix As SAPbouiCOM.Matrix
            With otem
                .FromPane = 3
                .ToPane = 3
                objMatrix = .Specific
            End With

    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.