TTMSFNCEdit extends TEdit and adds several capabilities such as autocompletion, Lookup and supports edit types such as alphanumeric, numeric, float, uppercase, lowercase, money, ….
The lookuplist can be enabled by setting the enabled property to true:
TMSFNCEdit1.Lookup.DisplayList.Add('abs'); TMSFNCEdit1.Lookup.DisplayList.Add('Item 1'); TMSFNCEdit1.Lookup.DisplayList.Add('Hello World !');
When typing, the list shows after 2 characters, with the property
TMSFNCEdit1.Lookup.NumChars this can be modified. When typing text, the text that is typed can also be automatically added to the list by setting TMSFNCEdit1.Lookup.History to true. Autocompletion can be actived with
TMSFNCEdit1.AutoComplete := True; The edit automatically displays the item that matches the characters typed in the edit.
The text in the edit can be displayed as password characters by setting
TMSFNCEdit1.Password := True;