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
- Drop
TTMSFNCEditon the form. - Set
TextorTextPromptfor the initial editing state. - Enable
Lookupand add lookup values when suggestions are useful. - Enable
AutoCompleteor choose anEditTypewhen 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 |