1. Home
  2. Computing & Technology
  3. Delphi Programming
Correct!

Associating an event with an existing event handler in Delphi is used in purpose of code reuse. Suppose we want to have a button and a menu item do the same thing. When a button initiates the same action as a menu command, you can write a single event handler and assign it to both the button’s and the menu item’s OnClick event.

For more info on associating an event with an existing event handler, click here.

Next Question >>

 


  • Post your VCLs and Apps to the Delphi Programming Members Area.
  • What do you think? Join the forum. Discuss real Delphi Programming topics.
  • Talk about Delphi Programming, real time.
  • Sign up for free Delphi Programming newsletter!
  • Explore a list of recommended books in Delphi Programming.
  • Don't wait if you have any questions or comments, mail me.
  • Link to the Delphi Programming site from your Web pages.


  • More Features...
  • Delphi Programming tutorials/articles by date: 2000 | 1999 | 1998 or by TOPIC.


  • Newsletter...
    Subscribe to the Newsletter
    Name
    Email

    Explore Delphi Programming
    About.com Special Features

    Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

    Easy ways to connect two computers for networking purposes. More >

    1. Home
    2. Computing & Technology
    3. Delphi Programming

    ©2009 About.com, a part of The New York Times Company.

    All rights reserved.