Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird List Box
Message
De
17/11/2000 12:21:10
Steven Dyke
Safran Seats USA
Texas, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Weird List Box
Divers
Thread ID:
00443091
Message ID:
00443091
Vues:
41
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
Fil
Voir

Click here to load this message in the networking platform