Skip to main content
Table of Contents

TTMSFNCCustomDataGrid.RandomFill Method

Fills all data cells (and optionally fixed cells) with random integer values.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
procedure RandomFill(ADoFixed: Boolean = False; ARandomNumber: Integer = 100);
void __fastcall RandomFill(bool ADoFixed = false, int ARandomNumber = 0x64);

Parameters

Name Description
ADoFixed When True, fixed header/footer cells are also filled.
ARandomNumber Upper bound for the random values (exclusive).