Iask before , but now I mor focus on the problem.
Ihave Listbox and Datagridview
The listbox have SelectedIndexChanged event and the datagridview have CellValidating event.
the SelectedIndexChanged fire find if thr user click on the list , but if the user is in edit mode in the table and then go to the list box to select new one . the CellValidating event open messagebox . when the user click on the message button the list box become float . when the mouse move the blue line is like nit focus .
I try to do focus to the list box but she already have.
I success to save the index of the selected index but I can't make it not to be fowl .
what can I do??????
Nissim Trabelsy