bvenkatrajan
03-26-2004, 01:20 PM
I am trying to use a Drop doen list that should throw an event once one of the items on the menu is selected ... How do i go about this. I remember doing it in C# long back
ANy help or example for this will greatly help me.
Jimbo2k
03-27-2004, 05:51 PM
I would display my code used for an exact example of how to do it, but I dont have .Net here.
Double click your drop down list, it will bring up the SelectedIndex_changed code. Then use a select-case or If statement to decipher which item has been selected (each item in your list will have an index).
Example:
Private Sub SelectedIndex_changed
If ListBox.SelectedIndex = 1 then
'the first item has been selected
End if
End Sub
Hope this helps...