Text Changed Event

shepmom

Member
Joined
Aug 18, 2010
Messages
9
Programming Experience
Beginner
I am trying to up a private sub routing based on the Text Changed Event for a listbox, inside of the event, I want to set a boolean variable to true. I have it set up, but for some reason it is not getting called.

Basically what I am doing is the user is being prompted to enter data in an input box. I am taking the data that is entered on the input box and populating it in a list box. I want to know if the text in the listbox has been changed, hence changing the blnIsChanged = True

Can I use text changed with a listbox???
 
Handling the TextChanged event for a ListBox doesn't make sense. TextChanged is relevant for a TextBox. That's why the documentation says:
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
For a ListBox, the most relevant event is SelectedIndexChanged. Can you describe your situation in more detail? Is the ListBox bound? If so, to what?
 
Back
Top