Table of Contents

Getting Started with TMS FNC Edit

Use TTMSFNCEdit when a text editor needs built-in lookup suggestions, autocomplete, password entry, or input type filtering.

Create an Edit Control

  1. Drop TTMSFNCEdit on the form.
  2. Set Text or TextPrompt for the initial editing state.
  3. Enable Lookup and add lookup values when suggestions are useful.
  4. Enable AutoComplete or choose an EditType when the input should be constrained.
TMSFNCEdit1.Lookup.Enabled := True;
TMSFNCEdit1.Lookup.DisplayCount := 6;
TMSFNCEdit1.Lookup.NumChars := 2;
TMSFNCEdit1.Lookup.DisplayList.Clear;
TMSFNCEdit1.Lookup.DisplayList.Add('Alpha');
TMSFNCEdit1.Lookup.DisplayList.Add('Beta');
TMSFNCEdit1.Lookup.DisplayList.Add('Gamma');
TMSFNCEdit1.DisplayLookup;

Next Steps

Task Guide
Configure lookup suggestions and autocomplete Lookup and input modes
Restrict text to numeric, uppercase, password, or other input modes Lookup and input modes