locked
ListBox Content changed event RRS feed

  • Question

  • so I want to populate a textbox with the listbox contents whenver the list box content is changed by the user.

    I however see no event in the .net events menu for windows for this.Am I missing stg?

    How do get around this.All I want to do is populate the text box with list box contents whenver there is a change.

    thanks

    Monday, July 30, 2007 5:16 PM

Answers

  • The user cannot change the contents of a ListBox, only code can.  It is not an editable control.  Since it is your code that changes the contents, your code can simply call a form class method after making the changes to update the TextBox.
    Monday, July 30, 2007 5:59 PM