by Azrael (4 Submissions)
Category: Object Oriented Programming (OOP)
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (4 Votes)
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.