Skip to main content
Table of Contents

TTMSFNCCustomDataGridDatabaseAdapter.DataSetDisableControls Method

Calls TDataSet.DisableControls on the linked dataset so that all linked controls, including this grid, stop following changes.

API unit family: TMSFNCDataGridDatabaseAdapter Declaring type: TTMSFNCCustomDataGridDatabaseAdapter

Syntax

FMX.TMSFNCDataGridDatabaseAdapter.hppPascalC++
procedure DataSetDisableControls;
void __fastcall DataSetDisableControls();

Remarks

Calls nest; always pair with DataSetEnableControls in a try/finally block. Use it around loops that navigate or modify many records.