Skip to Content

UI: Some questions with folders

Hi,

I have added a folder to an existing form using the code below. But now, I have some doubts about how to go on.

1- The new folder appears in first position. Is it possible to make it appear in last position?

2- The new folder doesn´t refresh (In this case clean, becouse it hasn´t got items) the item area. What must I do to force it?

3- How did I add a control to the folder?

This is the code I use to create the folder:

Dim oForm As SAPbouiCOM.Form

Dim oPestaña As SAPbouiCOM.Folder

oForm = con.Forms.Item(FormUID)

oPestaña=oForm.Items.Add("Pestaña",SAPbouiCOM.BoFormItemTypes.it_FOLDER ).Specific

oPestaña.Caption = "Pestaña 1"

oPestaña.GroupWith("40")

oPestaña.Select()

Thanks in advance,

Ibai Peñ

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 19, 2004 at 09:12 AM

    Ibai,

    have a look at the folder sample SAP provides in the download area. Almost all of your questions will be answered.

    HTH Lutz Morrien

    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.