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 GUIDEAs result you can see the 2 categories in the list and the corresponding lookuptext <strong>for</strong> each categoryin the lookupbar. Sorting can also be applied on categories in the same way as sorting is applied toitems. The categories are then sorted alphabetically and ascending based on the caption.LookupAfter activating categories, the (optional) lookupbar is automatically displayed. Clicking anddragging along the lookupbar will automatically per<strong>for</strong>m a lookup. This can be disabled with theAutoLookup property. If the AutoLookup property is false, the OnManualLookup event is triggeredwhen a category is clicked. From there you can per<strong>for</strong>m a lookup with one of the two methodsbelow depending on the type of categories you have chosen:<strong>TMS</strong>FMXTableView1.LookupCategory(ACharacter);//Per<strong>for</strong>ms a lookup of an AlphaBetic / AlphaNumeric category with aspecific character.<strong>TMS</strong>FMXTableView1.LookupCustomCategory(ACharacterID);//Per<strong>for</strong>ms a lookup of a Custom category with a specific characterID.When navigating through the categories the lookupbar will, when necessary, load the buffer that isneeded to display the selected category. Depending on the BufferSize and the active buffered itemsthe lookup will be either instant or could have a small loading time. Adapt the BufferSize to anoptimal value depending on the device on which the application will run.36

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

Saved successfully!

Ooh no, something went wrong!