[Lazarus] TAChart borderspacing

Andrea Mauri andrea.mauri.75 at gmail.com
Tue Sep 22 14:11:36 CEST 2009


Dear all,
I have a question regarding DisableControls and EnableControls 
procedures of TDataSet.
Is it correct that if I call 2 times disablecontrols I have to call 2 
times enablecontrols in order to enable again the controls associated to 
the dataset?
Here an example:
I put a DBGrid associated to a dataset by datasource. I put on the form 
2 buttons, one to call TDataset.EnableControls and another one that call 
TDataset.DisableControls. If I click the disable button 2 times I have 
to click 2 times also the enable button in order to enable again the dbgrid.
Is it correct? How can I check if the controls associated to a TDataset 
are enabled or not?
Regards,
Andrea




More information about the Lazarus mailing list