Am 29.01.2010 08:24, Vladimir Ulchenko wrote:
> all my aforementioned requirements if possible. I also looked at > Allen's blog post describing Using but still having troubles figuring > out what analog of mine one-liner DISABLE_ENABLE_CONTROLS(SomeDataset) > will look like? right now I have to type the following > SomeDataSet.DisableControls(); > try > .... > finally > SomeDataset.EnableControls(); > end; >
In the simplest case it'd look something like this:
DisableEnableControls(SomeDataSet, procedure begin // Your code here end);
-- Regards Jens