Table of Contents

TTMSFNCCustomDirectoryEdit Class

Base class for a directory-picker edit control combining a text field with a browse button.

API unit family: TMSFNCDirectoryEdit Inherits from: TTMSFNCCustomControl Implements: ITMSFNCBitmapContainer

Syntax

TTMSFNCCustomDirectoryEdit = class(TTMSFNCCustomControl, ITMSFNCBitmapContainer)

Properties

Name Description
Button Provides direct access to the internal browse button control.
Edit Provides direct access to the internal edit field control.

Methods

Name Description
ClickButton Programmatically clicks the browse button to open the directory picker dialog.
IsValidDirectory Returns True if the path in the edit field is an existing directory.
SetBounds Sets the bounds of the directory edit and updates the label and button layout.