<< Click to Display Table of Contents >> Navigation: Apollo VCL Components > Optimizing Performance > Disabling Data-Aware Controls |
When doing batch updates to a table that has data-aware controls (such as DBGrid or DBEdit), it is much faster to disable updates to the control displays for the duration of the update and re-enable them after the operation has completed. The TApolloTable methods DisableControls and EnableControls are used for this purpose. See Delphi's help file for additional details on these methods under TDataSet.