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
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus