12.07.2015 Views

TMS Pack for FireMonkey Developers Guide - TMS Software

TMS Pack for FireMonkey Developers Guide - TMS Software

TMS Pack for FireMonkey Developers Guide - TMS Software

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>TMS</strong> SOFTWARE<strong>TMS</strong> <strong>Pack</strong> <strong>for</strong> <strong>FireMonkey</strong>DEVELOPERS GUIDET<strong>TMS</strong>FMXEdit / T<strong>TMS</strong>FMXEditBtnT<strong>TMS</strong>FMXEdit and T<strong>TMS</strong>FMXEditBtn extends TEdit and adds several capabilities such asautocompletion, 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:<strong>TMS</strong>FMXEdit1.Lookup.Enabled := True;To display the list while typing, items can be added to the displaylist. The amount of displayeditems when typing can be controlled with <strong>TMS</strong>FMXEdit1.Lookup.DisplayCount.<strong>TMS</strong>FMXEdit1.Lookup.DisplayList.Add('abs');<strong>TMS</strong>FMXEdit1.Lookup.DisplayList.Add('Item 1');<strong>TMS</strong>FMXEdit1.Lookup.DisplayList.Add('Hello World !');When typing, the list shows after 2 characters, with the property<strong>TMS</strong>FMXEdit1.Lookup.NumChars this can be modified. When typing text, the text that is typedcan also be automatically added to the list by setting <strong>TMS</strong>FMXEdit1.Lookup.History to true.Autocompletion can be actived with <strong>TMS</strong>FMXEdit1.AutoComplete := True; The editautomatically displays the item that matches the characters typed in the edit.<strong>TMS</strong>FMXEdit1.AutoComplete := True;<strong>TMS</strong>FMXEdit1.Lookup.DisplayList.Add('Hello World !');The text in the edit can be displayed as password characters by setting <strong>TMS</strong>FMXEdit1.Password:= True;The T<strong>TMS</strong>FMXEditBtn extends the T<strong>TMS</strong>FMXEdit, inheriting all features and adds a button to the editthat can display a popupcontrol.The popupcontrol can be added with<strong>TMS</strong>FMXEditBtn1.PopupControl := TreeView1;18

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!