I have a form with numerous Listboxes.
Most are on pages of a pageframe but some are not.
I have been very careful to ensure that I am fully over a line in a Listbox when I click on it.
Far too often the Click() action is executed BUT the peviously selected item (or no item at all if none was selected) is the .Value available rather than the one I just clicked on. The clicked-on item also remains UNselected visibly.
I have seen this same behavior in XP when the listbozes are on pages in a pageframe and they "overlap" each other.
The only solution that I found was to move all the listboxes on the non-visibles pages so that they were not underneath the listbox on the active page. I added a custom method called SetControls to my form to handle all the re-positioning of the listboxes and called it when the active page changed.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only