Difference between revisions of "TSelectDirectoryDialog"
From Lazarus wiki
Jump to navigationJump to searchm (Fixed syntax highlighting) |
|||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
'''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>if SelectDirectoryDialog1.Execute then | + | <syntaxhighlight lang=pascal> |
− | LabelDir.Caption := | + | if SelectDirectoryDialog1.Execute then |
+ | LabelDir.Caption := SelectDirectoryDialog1.FileName + PathDelim; | ||
</syntaxhighlight> | </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