Icon DisableControls Method

procedure DisableControls

Usage

Available In: Client and Server Applications

Use this method to disable any notifications to data-bound controls until the EnableControls method is called, which is useful when performing lengthy operations on datasets that also have controls bound to them. Both of these methods are referenced-counted, so nested calls to the DisableControls method result in the reference count being incremented, while nested calls to the EnableControls method result in the reference count being decremented. Once the reference count reaches 0, notifications to data-bound controls will resume and the controls will actively reflect any changes to the active row in the dataset.
Image