Simple VB ListBox question
Posted on 2002-04-04
Somehow this simple task doesn't work by me.
On the form I have two ListBoxes:
lbPos and lbCat.
So, I need two Click events:
If user clicks on one box it deselects the other one,
so to avoid items selected in both boxes.
Focus and selection are taken away.
Looked at HideSelection method, but it didn't work right.
I need to events:
Private Sub lbPos_Click()
........' deselect lbCat
Private Sub lbCat_Click()
........' deselect lbPos