🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #70

Re: Sv: TechTips: Avoiding unavoidable recursion in event-handlers ...

#70
From: Michael Winter
Date: Mon, 06 Dec 1999 00:00
10 lines
1316 bytes
Finn Tolderlund schrieb:
> 
> It is much simpler just to set the eventhandler to nil upon entry and
> restore it upon exit.
> That way there is no need to define any variables.

It depends. Think about an event handler which is triggered by more than
one object. Or even by more than one event of an object.

-Michael
Technical Details
Message-ID: <384C1F52.E18B0475@foni.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <384BDF64.10D8@sundialservices.com> <VGR24.17$bf.283@news0.mobilixnet.dk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff75c,621456c0b23430b
X-Google-Attributes: gidff75c,public
X-Google-Thread: ffff5,621456c0b23430b
X-Google-Attributes: gidffff5,public
X-Google-Thread: 10baee,621456c0b23430b
X-Google-Attributes: gid10baee,public
From: Michael Winter <winter@foni.net>
Subject: Re: Sv: TechTips:  Avoiding unavoidable recursion in event-handlers ...
Date: 1999/12/06
Message-ID: <384C1F52.E18B0475@foni.net>
X-Deja-AN: 557420893
Content-Transfer-Encoding: 7bit
References: <384BDF64.10D8@sundialservices.com> <VGR24.17$bf.283@news0.mobilixnet.dk>
X-Accept-Language: de,en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: news@komtel.net
X-Trace: olaf.komtel.net 944515451 24442 212.7.135.79 (6 Dec 1999 21:24:11 GMT)
Organization: me@home
Mime-Version: 1.0
NNTP-Posting-Date: 6 Dec 1999 21:24:11 GMT
Newsgroups: comp.lang.pascal.delphi.misc,comp.lang.pascal.delphi.databases,borland.public.delphi.database.desktop