Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird List Box
Message
From
17/11/2000 12:21:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Weird List Box
Miscellaneous
Thread ID:
00443091
Message ID:
00443091
Views:
45
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?
Next
Reply
Map
View

Click here to load this message in the networking platform