Skip to main content
Table of Contents

TTMSFNCDataGridCore.SetLocalRect Method

Assigns the layout rectangle of the grid, normally the client rectangle of the host control.

API unit family: TMSFNCDataGridCore Declaring type: TTMSFNCDataGridCore

Syntax

GeneratedPascalC++
procedure SetLocalRect(ARect: TRectF); virtual;
virtual void __fastcall SetLocalRect(System::Types::TRectF ARect);

Remarks

Only stores the rectangle; call Update afterwards to recalculate the layout. The host control does this automatically when it is resized.

Parameters

Name Description
ARect New layout rectangle in local coordinates.