Article

From:
To:
=?Utf-8?Q?Jens_M=C3=BChlenhoff?=
Subject:
Re: Delphi Project X Cross GUI
Newsgroup:
embarcadero.public.delphi.non-technical

Re: Delphi Project X Cross GUI

On Fri, 29 Jan 2010 05:02:04 -0800, Jens M?hlenhoff
<✉accurata.com> wrote:

>In the simplest case it'd look something like this:
>
>DisableEnableControls(SomeDataSet, procedure
>begin
>   // Your code here
>end);

perhaps that code will look even more ugly than original nested
try/finally's when one needs to acquire/release several resources

if it's really minimal possible code to get needed functionality then I guess it's impossible to achieve what I want in current delphi (without borrowing from cpp macros and automatic variables)
-- Vladimir Ulchenko aka vavan
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Mon, 25 Nov 2024 11:18:10 UTC
Copyright © 2009-2024
HREF Tools Corp.