Skip to main content
Table of Contents

TTMSFNCDataGridCore.LogMessage Method

Emits a diagnostic message.

API unit family: TMSFNCDataGridCore Declaring type: TTMSFNCDataGridCore

Syntax

FMX.TMSFNCDataGridCore.hppPascalC++
procedure LogMessage(AMessage: string; AMessageType: TTMSFNCDataGridLogMessageType = glmInfo);
void __fastcall LogMessage(System::UnicodeString AMessage, TTMSFNCDataGridLogMessageType AMessageType = (TTMSFNCDataGridLogMessageType)(0x0));

Remarks

When OnLogMessage is assigned, the message is passed only to the handler. Otherwise it is written to the platform debug log with a [INFO], [WARNING] or [ERROR] prefix. The grid uses this for non-fatal conditions, for example when grouping cannot be applied.

Parameters

Name Description
AMessage Message text.
AMessageType Severity; glmInfo by default.