The AMObjectBrowser object is a client-side component that implements the browser dialog for an object in Meridian Enterprise.
Name | Description |
---|---|
The caption of the dialog. |
|
The description text. |
|
Reserved. See About reserved objects, methods, and properties . |
|
Initiate this property with AMDocumentRepository. See Remarks. |
|
The object ID that the user selects from the dialog. |
|
Initiate this property with AMVault.SelectedVault. See Remarks. |
|
An array of object IDs for multiple selection dialog type. |
|
Displays the dialog. See Remarks. |
Remarks
You can initiate the dialog with either AMDocumentRepository or AMVault.SelectedVault. See _AMOB_DLGTYPES constants for possible dialog types.
Example
Private Sub Doit(ByVal dr As AMDocumentRepository)
Dim oBrowser As New AMObjectBrowser
oBrowser.Caption = "Select"
oBrowser.Description = "Please select a folder"
Set oBrowser.Repository = dr
' Show the select dialog
If (oBrowser.SelectObjectDlg(AMOB_DLGTYPE_FOLDER, Me.hWnd) Then
' The user selected a folder
MsgBox "Selected folder ID: " & oBrowser.SelectedItemID
Else
' The user canceled the dialog
End If
End Sub