1. Computing

Handling Events - The "Custom" Keyword

By April 5, 2012

Follow me on:

After posting my most recent article about custom event handlers, I realized that I hadn't covered the actual "Custom" event handler. It turns out that Microsoft doesn't actually cover it either. While Microsoft's site does have a couple of examples (linked in my latest article), they never really explain what the Custom keyword does.

I decided that the best way to explain it would be use the Custom keyword and duplicate the function of the example that my recent article already uses -- even though it's totally unnecessary. After all, the example works without using the Custom keyword and adding it does bolix up the code. I have to admit that I tried using Microsoft's code examples without success for awhile until I realized that I was doing way too much work. The actual solution was a lot simpler. Read the article and you'll see what I mean.

Using the Custom Event Keyword

Comments are closed for this post.
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>
  1. About.com
  2. Computing
  3. Visual Basic

©2014 About.com. All rights reserved.