[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Check whether the controls are disabled
Source position: db.pas line 1625
public function TDataSet.ControlsDisabled: Boolean; |
True if no events are sent to the controls
ControlsDisabled returns True if the controls are disabled, i.e. no events are propagated to the controls connected to this dataset. The TDataset.DisableControls call can be used to disable sending of data events to the controls. The sending can be re-enabled with TDataset.EnableControls. This mechanism has a counting mechanism: in order to enable sending of events to the controls, EnableControls must be called as much as DisableControls was called. The ControlsDisabled function will return true as long as the internal counter is not zero.
|
Disable event propagation of controls |
|
|
Enable event propagation of controls |