Skip to main content
Table of Contents

TTMSFNCDataGrid.ClearControlCache Method

Clears the shared cache of embedded controls that cells reuse to display control content (checkboxes, buttons, progress bars and similar).

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGrid Inherited from: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
procedure ClearControlCache;
void __fastcall ClearControlCache();

Remarks

The cache is shared between all grids; controls are recreated on demand the next time a cell needs one.