[Overview][Classes][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TDirSelDlg - a dialog for selecting a directory from a TreeView list
Source position: dirsel.pas line 37
type TDirSelDlg = class(TForm) |
||
|
btnOK - the 'OK' button for accepting a directory name (suggest the user changes the caption to 'OK') |
|
|
btnCancel - the 'Cancel' button if no selection is desired (suggest the user changes caption to 'Cancel') |
|
|
lblDirectory - the label above the panel indicating that the directory is being displayed |
|
|
Panel1 - the panel in which the control buttons are displayed |
|
|
DirectoryPanel - the panel in which the directory structure is displayed |
|
|
TV - the Tree View that shows the directory structure |
|
procedure FormShow(); |
|
FormShow - method for displaying the created form |
procedure TVExpanded(); |
|
TVExpanded - method for expanding the Tree View for the directory structure |
public |
||
function SelectedDir; |
|
SelectedDir - returns the name of the selected directory as a string |
property Directory: String; [rw] |
|
Directory - the currently selected directory: either the value inserted at the start, or the value selected from the Tree View |
property RootDirectory: String; [rw] |
|
RootDirectory - the root directory from which the tree structure is derived |
property ShowHidden: Boolean; [rw] |
|
ShowHidden - if True, display the names of hidden directories |
end; |
|
TDirSelDlg - a dialog for selecting a directory from a TreeView list |
|
| | ||
TForm |
||
? | ||
TObject |
|
TDirectoryEdit - an EditBox to hold a directory name, with an attached SpeedButton that will summon a Directory Open dialog |
|
|
Select Directory Dialog |