Data.DB.TDataSet.EnableControls

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure EnableControls;

C++

void __fastcall EnableControls();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

Description

Re-enables data display in data-aware controls associated with the dataset.

Call EnableControls to permit data display in data-aware controls after a prior call to DisableControls. EnableControls decrements the disabled count variable for the dataset if it is not already zero. If the disable count variable is zero, EnableControls updates the current state of the dataset, if necessary, and then tells associated controls to re-enable display.

See Also


Code Examples