FMX.Grid.TGridModel.ReduceCache

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ReduceCache; overload;
procedure ReduceCache(const LeftColumn, TopRow, RigthColumn, BottomRow: Integer); overload;

C++

void __fastcall ReduceCache()/* overload */;
void __fastcall ReduceCache(const int LeftColumn, const int TopRow, const int RigthColumn, const int BottomRow)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Grid.pas
FMX.Grid.hpp
FMX.Grid TGridModel

Description

Reduces the internal cache so that only the cells within the specified boundaries stay in the internal cache.

A cell stays in the cache if it meets all of the following conditions:

  • The column of the cell is LeftColumn, RightColumn, or any column in between.
  • The row of the cell is TopRow, BottomRow, or any row in between.

If you do not specify boundaries, the cache is reduced so that only cells within the current column count and row count stay in the internal cache.

See Also