ABL - The Problem Solver - .Net FAQ
 

Home
Mission
News
Blog
Tools
FAQ
Publications
Downloads
Contact
Contents

 

Frequently asked questions

.NET Visual FoxPro FoxPro 2.6

 


Event Tracer

One of the problems facing a WinForms developer is choosing which event handler to pick when he wants to handle a certain event. Now this sounds easy, you might say: I want to do something when the user click on the form so I add an event handler to the form Click event. And in this case that works just fine but suppose you want to do something when a user tabs from one TextBox to the next. In this case a number of events are raised. Now this utility gives the developer insight into which events are raised and in what order. This way a developer can see that the Validating event is raised when tabbing between controls. But equally important the developer can spot an event that isn’t raised. For example he might set the CausesValidation property to false and the Validating event is no longer raised. Now he watch the trace, confirm the event is no longer raised and pick another suitable event instead.

Note:
This version of the EventTracer is still an early 0.5 version so it isn’t exactly finished yet. Any feedback will be appreciated, please mail me at mauricedb@computer.org
 

You can download it from here.


 

Send mail to webmaster@TheProblemSolver.nl with questions or comments about this web site.
Copyright © 1995 - 2012 ABL - The Problem Solver
Last modified: December 5th 2011
.NET Events
RSS 2.0