From the course: Visual Basic Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Add TextChanged event handler code - Visual Basic Tutorial
From the course: Visual Basic Essential Training
Add TextChanged event handler code
- [Instructor] For this demonstration, let's look at how to add a separate event handler for a different control. I'd like to look at some of the events that are available for the text box. So select it, and then what I'd like to do is monitor what the user is typing. And as they type new information into the text box, I want to do something with that. Remember what we would do first? We need to figure out what event is raised or triggered. So let's look over here in the Properties. You remember, you go over here and you click on the event handlers. And then you look to this list. There's a lot of choices here. I'm looking for something that happens when the text is edited. So I suspect, well, you'd go down and look for text. So Text Input, Text Changed, those all look promising. Remember what I did last time is I double clicked on the button. That only works for the default event. If it's any event other than…
Contents
-
-
-
-
-
What applications can you create?2m 13s
-
(Locked)
Add additional projects to the solution2m 31s
-
(Locked)
Review the Visual Studio Project template code3m 33s
-
(Locked)
Choose a startup project3m 8s
-
(Locked)
Work with a Windows UI project3m 48s
-
(Locked)
Add click event handler code3m 13s
-
(Locked)
Add TextChanged event handler code2m 21s
-
-
-
-
-
-
-
-
-
-
-
-