Listbox question


Posted by Neil on October 08, 2001 8:32 AM

How do I verify that a listbox item has been selected and then hide the ListBox.



Posted by Juan Pablo on October 08, 2001 9:37 AM

Private Sub ListBox1_Click()
If ListBox1.ListIndex <> -1 Then ListBox1.Visible = False
End Sub

Juan Pablo