[Lazarus] IOI: Lazarus and Free Pascal

Tom Verhoeff T.Verhoeff at tue.nl
Tue Sep 22 14:56:33 CEST 2009


On Mon, 2009-09-21 at 15:19 +0200, Andrea Mauri wrote:
> 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?

Are you using Lazarus? ctrl-click on TDataset.EnableControls. Then use
ctrl-shift-down and you'll see... ;)

Offcourse, documentation is also usefull. But there is this easy
alternative. (It doesn't work in more difficult cases, but in this case
it does)

Joost





More information about the Lazarus mailing list