EPUB | CHM | PDF

TDataSet.Methods.EnableControls

Top Previous Next

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

Syntax:

procedure EnableControls;

Description:

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: Example: DisableControls, EnableControls, Eof