ComboBox Question

  • Thread starter Thread starter Jorge
  • Start date Start date
J

Jorge

Hello
I have an unbounded combo on a form and its filled during
load. I use ComboBox1_TextChanged event to update a
datagrid. My problem is that sometimes the focus jumps to
the combobox1 when i use the scoll buton of the mouse,
causing the datagrid updating before i finish editing the
values...

Any suggestion on how to block them?
Thanks

Kind Regards
Jorge
 
* "Jorge said:
I have an unbounded combo on a form and its filled during
load. I use ComboBox1_TextChanged event to update a
datagrid. My problem is that sometimes the focus jumps to
the combobox1 when i use the scoll buton of the mouse,
causing the datagrid updating before i finish editing the
values...

Why do you use the scroll button when editing the textbox's text?
 
-----Original Message-----


Why do you use the scroll button when editing the textbox's text?

That's not exactly what happens. I select a cell on the
datagrid and edit its value. Then i use the scroll button
of the mouse to move the rows of the datagrid up or down
and sometimes it fires the combobox1_textchanged event
and all the changes are lost because i didn't updated the
database.

Jorge

 
Back
Top