Zipurwjnwsafz
New Member
Hi, <BR><BR>I'm trying to create a form who display a listbox with items, and I want to display another listbox which may be diferent according to the previous item selected.<BR><BR>With the "SelectedIndexChange" event and the "Handles MyListBox.SelectedItemChanged" it returns the following error:<BR><BR>Handles clause requires a WithEvents variable.<BR><BR>But I don't have a Idea of what this could be... I'm not using any code-behind aniway.<BR><BR>What can I do?<BR><BR>Any Ideas?<BR><BR>Thanks a lot in advance.