TCVcsBrowseFolder
Return to Introduction  Previous page  Next page
Displays a dialog to allow selection of an object from the currently active repository.

Delphi (TCIntf.pas)

function TCVcsBrowseFolder( ACaption, Description, FileMask: String; DlgType: Word; var AnID: Cardinal; var ObjectName: String; CanSelectProject: Boolean ): Boolean;  

Parameters

Name
Description
ACaption
The caption for the dialog box
Description
The text to use for the description line in the dialog.
FileMask
If the dialog is for selecting archives, then this specifies the mask used to filter the displayed files. Defaults to *
DlgType
Type of dialog box to display: btFolders for selecting Folders and Projects. btFiles for selecting files.
AnID (Out)
Receives the ID of the selected Object
ObjectName (Out)
Receives the Name of the selected Object
CanSelectProject
If the dialog is of type btFolders, setting this True will allow selection of the root projects.


Return Value

True if successful.

Exported

function TCBrowseFolder( pCaption, pDescription, pFileMask: PChar; DlgType: Word; var AnID: Cardinal; const pObjectName: PChar; CanSelectProject: Boolean ): Boolean; stdcall;  
 


 


© 1995-2018 MCN Software