Information générale
Catégorie:
Gestionnaire d'écran & Écrans
I have two listboxes on a form. The first has a list of department numbers. When I click on a particular department number the second list box is then populated with employee ID numbers that are in the department selected. The second list box does not have a click event, it has a doubleclick event which opens up a timesheet report and a rightclick event which displays the name of the person associated with the ID. Here is the problem: I select a department, I highlite an ID number in the second listbox by clicking it. Then I select a different department nubmer. Now when I go to the second listbox and select an ID it changes to the ID number I selected in the prior employee number listbox. I have noticed when this listbox loses focus the number that was changed reverts back to the proper number. Also eventhough the number appears wrong, the doubleclick and right click events work on the proper ID number and not the displayed ID number. And if I go back and select the department number a second time the transformation problem goes away. Any Suggestions?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement