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 GUIDEReturns the current view in edit mode, the main list control or the detail list control.- function FindFirstItemWithCategory(ACategory: String):T<strong>TMS</strong>FMXTableViewItem;Returns the first item with a specific Category when using AlphaBetic / AlphaNumericcategories.- function FindFirstItemWithCategoryID(ACategoryID: Integer):T<strong>TMS</strong>FMXTableViewItem;Returns the first item with a specific CategoryID when using custom categories.- procedure ToggleEditMode;Toggles between edit mode and normal mode.- procedure ApplyFilter(AFilter: String);Applies and automatically updates the list with a specific filter.- procedure UpdateTableView;Forces a complete update of the list of items in the TableView.- procedure BeginUpdate;Blocks an update of the TableView. This is necessary when adding a large amount of items.Used in combination with EndUpdate;- procedure EndUpdate;Blocks an update of the TableView. This is necessary when adding a large amount of items.Used in combination with BeginUpdate;- procedure LoadNextBuffer(ABufferSize: Integer = -1);Loads the next list with specific BufferSize. (ABufferSize = -1 loads the default BufferSize).- procedure LoadPreviousBuffer(ABufferSize: Integer = -1);Loads the previous list with specific BufferSize. (ABufferSize = -1 loads the defaultBufferSize).- procedure EditMode;Sets the list in edit mode.- procedure CancelEditMode;Cancels the edit mode. Sets the list back to normal mode.- procedure ShowDetailView;Shows the detail view of the item.- procedure HideDetailView;Hides the detail view of the item.- procedure LoadBufferBetween(BufferStart, BufferStop: Integer);Loads the list between a start and stop buffer.- procedure LookupCustomCategory(ACategoryID: Integer);Automatically positions the category on top in the list with a specific CategoryID.This can be used in combination with custom categories.- procedure LookupCategory(ACategory: String);28

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

Saved successfully!

Ooh no, something went wrong!