From 860295db980257a08f95785733dbf23447840614 Mon Sep 17 00:00:00 2001 From: kirkpatc Date: Tue, 6 May 2008 16:28:51 +0000 Subject: [PATCH] Description added for TDirSelDlg in dirsel.xml; links added in dialogs.xml and editbtn.xml git-svn-id: trunk@15062 - --- docs/xml/lcl/dialogs.xml | 4 +- docs/xml/lcl/dirsel.xml | 743 +++++++++++++++++---------------------- docs/xml/lcl/editbtn.xml | 5 +- 3 files changed, 327 insertions(+), 425 deletions(-) diff --git a/docs/xml/lcl/dialogs.xml b/docs/xml/lcl/dialogs.xml index 4c40fe483f..be5907ef31 100644 --- a/docs/xml/lcl/dialogs.xml +++ b/docs/xml/lcl/dialogs.xml @@ -1005,7 +1005,9 @@ if no file is specified, the Save File As dialog is invoked and the buffer is sa Select Directory Dialog Select Directory Dialog: allows the user to select a directory when the directory structure is displayed as a tree. - + TDirSelDlg + TDirectoryEdit + diff --git a/docs/xml/lcl/dirsel.xml b/docs/xml/lcl/dirsel.xml index 64e51f55c6..744d39dddd 100644 --- a/docs/xml/lcl/dirsel.xml +++ b/docs/xml/lcl/dirsel.xml @@ -1,430 +1,327 @@ - + - - - - - - - + + A dialog for displaying a directory structure and selecting a directory + + TDirectoryEdit + TSelectDirectoryDialog + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TDirSelDlg - a dialog for selecting a directory from a TreeView list + + + + + + + + + + + + + + + + + + + + + + + + + + Panel1 - the panel in which the control buttons are displayed + + + + + + + + + + + + + + + + + + + + + + + + + TV - the Tree View that shows the directory structure + + + + + + + + + + + + + + + + + + FormShow - method for displaying the created form + + + + + + + + + + + + TVExpanded - method for expanding the Tree View for the directory structure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SelectedDir - returns the name of the selected directory as a string + + + + + + + + + + + + Directory - the currently selected directory: either the value inserted at the start, or the value selected from the Tree View + + + + + + + RootDirectory - the root directory from which the tree structure is derived + + + + + + + ShowHidden - if True, display the names of hidden directories + +

+ ShowHidden - if True, display the names of hidden directories

+For example, in Windows and derivatives, display directories in and below the 'Windows' directory (mostly system files); in Unix/Linux etc, display directories prefixed with a dot (mostly configuration files, eg ' .lazarus ')
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
+ +
+ + + + + + + + + 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 + + + + DirectoryPanel - the panel in which the directory structure is displayed + + + + diff --git a/docs/xml/lcl/editbtn.xml b/docs/xml/lcl/editbtn.xml index 6456412bc4..cd89fa93e2 100644 --- a/docs/xml/lcl/editbtn.xml +++ b/docs/xml/lcl/editbtn.xml @@ -1228,7 +1228,10 @@ TDirectoryEdit - an EditBox to hold a directory name, with an attached SpeedButton that will summon a Directory Open dialog - + + Directory Select Dialog + TSelectDirectoryDialog +