on 07-19-2004 10:08 AM
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ñ
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.