Table of Contents

Getting Started with TMS FNC Directory Edit

Use TTMSFNCDirectoryEdit when users need to type or browse for a directory path from one editor.

Create a Directory Editor

  1. Drop TTMSFNCDirectoryEdit on the form.
  2. Set EmptyText and DialogCaption.
  3. Decide whether users can type directly with EditorEnabled.
  4. Handle OnDialogClose to validate or store the selected path.
TMSFNCDirectoryEdit1.EmptyText := 'Select an output folder';
TMSFNCDirectoryEdit1.DialogCaption := 'Select output folder';
TMSFNCDirectoryEdit1.EditorEnabled := True;
TMSFNCDirectoryEdit1.ButtonSettings.Text := 'Browse';
TMSFNCDirectoryEdit1.ButtonSettings.Align := debaRight;
TMSFNCDirectoryEdit1.LabelSettings.Text := 'Output folder';
TMSFNCDirectoryEdit1.LabelSettings.Position := delpLeftCenter;
TMSFNCDirectoryEdit1.OnDialogClose := TMSFNCDirectoryEdit1DialogClose;

Next Steps

Task Guide
Configure browse behavior and path validation Directory selection
Add lookup suggestions while typing Directory selection