Difference between revisions of "TSelectDirectoryDialog"
From Lazarus wiki
Jump to navigationJump to search (Created page with "{{TSelectDirectoryDialog}} '''TSelectDirectoryDialog''' Image:tselectdirectorydialog.png is a component that aids in selecting a directory in the file system. It can be f...") |
m (Fixed syntax highlighting) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
'''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