Tech Tutorials Database
GeekArticles Programming Delphi
 

Delayed Event Handling Using Event Handler Detaching for Delphi Applications

 
Author: delphi.about.com
Category: Delphi
Comments (0)

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>

Read More...




Sponsored Links




Read Next: What Is Your Most Common Delphi Programming D'Oh - Coding Error Moment?



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe