Hi guys,

This has been doing my head in all afternoon. I have a listbox on my form which reads it's data from an Access DB. I also have a normal textbox on my form.

If you select an item in the listbox it becomes highlighted, no problems so far. But, if you then click on the textbox the item un-selects itself. I cannot understand why. I have tried as a test, putting another listbox on the form and filled it's contents at design-time with numbers 1,2,3 etc,,. When this is run you can select an item in the test listbox, click on the textbox and it is still selected.

Any ideas why the first listbox keeps unselecting itself? Is it because the data in it is read from a DB ?

Cheers