JVCL Help:TJvBrowseForFolderDialog.SetSelection@string

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Selects a folder in the Browse dialog box.


Pascal

 procedureSetSelection(constAPath: string); overload;
procedureSetSelection(IDList: PItemIDList); overload;


Parameters

Parameters Description
const APath: string Specifies the path to expand as a string.
IDList: PItemIDList Specifies the path to expand as pointer to an item identifier list.


Description

Call SetSelection to select a folder in the Browse dialog. The folder to select can be specified as pointer to an item identifier list (PIDL) or as a string. For example you can call SetSelection in an OnInitialized event handler, but for this specific purpose you can also use property Directory.
Calls to SetSelection do have no effect while the dialog is not active, use property Directory for this purpose.


See Also

TJvBrowseForFolderDialog.SetExpanded


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page