GeekArticles
Programming
Delphi
Programming
DelphiDelayed Event Handling Using Event Handler Detaching for Delphi Applications
in <a TIPS</i></a> ::The article <a to Detach an Event Handler from a Control Event</a> describes a simple mechanism to remove an event handling procedure from a event.
<p>Allan Lloyd made a remark about the idea suggesting an extension: when you have an event handler which takes some time (> 0.1 sec) to run, but you want another click or a double click to call the event handler a second time before the first call has finished, you can detach the event handler from the event while the event handling code is being executed.
<p>Read the <b>full article</b> to learn how to <b><a Delayed Event Handling Using Event Handler Detaching</a></b>
<p><b>Related:</b>
<ul to Detach an Event Handler from a Control Event</a></li>
<li><a the Sender parameter in Delphi Event Handlers</a></li>
<li><a To Share an Event Handler Between Several Controls</a></li>
</ul>
Sponsored Links
Related Topics
Subscribe via RSS
Delphi
- A load of ASP.NET related tutorials, articles, tips and tricks!
- How to move PageControl's tabs using drag'n'drop
- Charts in database applications
- Creating Components Dynamically (at Run-Time)
- The role of the "AOwner" parameter in the Create constructor
- Creating a roll up form (with animation)
- Poll: Do you already have some experience with Delphi?
- Creating a database from Delphi code
- TMemoBar - T(Custom)Memo extender
- How to click-and-select a line in TMemo
