Ever wanted to apply validation to a lot of textboxes, but got fed up of writing the call to validation into every single textbox_change Sub on your form? WithEvents is for you! You can set up a validation class that'll keep track of the events for you ... code is a simple example, where textboxes change colour when their contents are changed.