Class TOlfSelectDirectoryDialog

Unit

Declaration

type TOlfSelectDirectoryDialog = class(TComponent)

Description

Open a modal dialog box to choose a directory.

This non visual component use SelectDirectory from VCL.FileCtrl. The properties are used as it when calling the function. http://docwiki.embarcadero.com/Libraries/en/VCL.FileCtrl.SelectDirectory

Attributes
ComponentPlatformsAttribute(pfidWindows)

Hierarchy

Overview

Methods

Public function Execute: boolean;
Public constructor Create(AOwner: TComponent); override;

Properties

Published property Caption: string read FCaption write SetCaption;
Published property Root: string read FRoot write SetRoot;
Published property Directory: string read FDirectory write SetDirectory;
Published property Options: TSelectDirExtOpts read FOptions write SetOptions default [sdNewUI];

Description

Methods

Public function Execute: boolean;
 
Public constructor Create(AOwner: TComponent); override;
 

Properties

Published property Caption: string read FCaption write SetCaption;

Text used as the dialog box title.

Published property Root: string read FRoot write SetRoot;

Root directory to filter the selection (can be empty)

Published property Directory: string read FDirectory write SetDirectory;

Initial directory in input. Selected directory in output if the user config the selection. If nothing is selected, the output directory is the same as input directory.

Published property Options: TSelectDirExtOpts read FOptions write SetOptions default [sdNewUI];

Used to personalize the dialog box. See Delphi documentation if you want to know how to use it.

Delphi VCL Extend Library (c) 2021-2025 Patrick PREMARTIN - Powered by PasDoc
Generated by PasDoc 0.16.0.