Difference between revisions of "TSelectDirectoryDialog"
From Lazarus wiki
Jump to navigationJump to searchm (Fixed syntax highlighting) |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{TSelectDirectoryDialog}} | ||
+ | |||
'''TSelectDirectoryDialog''' [[Image:tselectdirectorydialog.png]] is a component that aids in selecting a directory in the file system. It can be found on the [[Dialogs tab]] of the [[Component Palette]]. | '''TSelectDirectoryDialog''' [[Image:tselectdirectorydialog.png]] is a component that aids in selecting a directory in the file system. It can be found on the [[Dialogs tab]] of the [[Component Palette]]. | ||
+ | |||
+ | <syntaxhighlight lang=pascal> | ||
+ | if SelectDirectoryDialog1.Execute then | ||
+ | LabelDir.Caption := SelectDirectoryDialog1.FileName + PathDelim; | ||
+ | </syntaxhighlight> | ||
== See also == | == See also == | ||
+ | |||
* [[doc:lcl/dialogs/tselectdirectorydialog.html|TSelectDirectoryDialog doc]] | * [[doc:lcl/dialogs/tselectdirectorydialog.html|TSelectDirectoryDialog doc]] | ||
{{LCL Components}} | {{LCL Components}} |
Latest revision as of 02:15, 2 March 2020
│
English (en) │
français (fr) │
русский (ru) │
中文(中国大陆) (zh_CN) │
TSelectDirectoryDialog is a component that aids in selecting a directory in the file system. It can be found on the Dialogs tab of the Component Palette.
if SelectDirectoryDialog1.Execute then
LabelDir.Caption := SelectDirectoryDialog1.FileName + PathDelim;
See also