My app has a grid to show the detail lines of a purchase order. One of the columns is a dropdown to allow the user to choose from a list of services. When chosen, the dropdown assigns values to columns containing the service number, the description (name) of the service, and the unit price of the service. Inexplicably, it also somehow sets the PO line number column to the index number of the item chosen. If, in the 5th line of the PO, I choose the 12th service on the list, the line number is set to 12! I can't seem to find where this is happening and why.
I have narrowed the timing of this to somewhere between the Click event and the Valid event for the dropdown. The debugger's event tracking only shows Paint events between them. (I've had the tracker skip Init, Destroy, MouseUp, MouseDown, and MouseMove events to keep the file manageable.)
The underlying table displayed by the grid reflects the change so it's not a display abberation.
I'm running out of ideas.
Suggestions?
Shanachie
I have narrowed the timing of this to somewhere between the Click event and the Valid event for the dropdown. The debugger's event tracking only shows Paint events between them. (I've had the tracker skip Init, Destroy, MouseUp, MouseDown, and MouseMove events to keep the file manageable.)
The underlying table displayed by the grid reflects the change so it's not a display abberation.
I'm running out of ideas.
Suggestions?
Shanachie