Skip to main content
Table of Contents

TTMSFNCDataGridDatabaseAdapter.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: TTMSFNCDataGridDatabaseAdapter Inherited from: 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.