Description
Groups a folder with another folder.
Use this method to indicate to the form to display one folder at a time from among the group of folders.
Syntax
| Visual Basic |
|---|
Public Sub GroupWith( _
ByVal TargetUID As String _
) |
Parameters
Remarks
Example
| Grouping folders (Visual Basic) | Copy Code |
|---|
Public Sub UsingFolderGroupWith()
Dim oForm As SAPbouiCOM.Form
Dim oFolder As SAPbouiCOM.Folder
Dim i As Integer
Set oForm = SBO_Application.Forms.Add("FormWithFolder")
For i = 1 To 3
Set oFolder = oForm.Items.Add("Folder" & i, it_FOLDER).Specific
oFolder.Caption = "Folder" & i
oFolder.DataBind.SetBound True, "", "FolderDS"
If Not i = 1 Then
oFolder.GroupWith ("Folder" & i - 1)
End If
Next i
End Sub
|
|
See Also