I have 4 Listbox's on a form.
I can click in all 4 and they maintain focus.
How can i remove focus from all the Listbox's except the one i have just selected when i select a Listbox?
I have tried
andCode:Me.lstExternalDoors.SelectedIndex = -1 Me.lstInternalDoors.SelectedIndex = -1 Me.lstInternalWindows.SelectedIndex = -1
This works but i have to click the item in the listbox twice to give it focus.Code:Me.lstExternalDoors.SelectedItem = -1 Me.lstInternalDoors.SelectedItem = -1 Me.lstInternalWindows.SelectedItem = -1
Regards
toe




Reply With Quote
