Skip to content

The left/right key will affect the ComboBox field, cause ComboBox value changed , how could I solve this

Mark Chen

Asked Feb 8, 2007, 4:49 PM EST1 answer
Share
LinkedInX
Sometime when I use left/right/up/down key in Data Grid, the left/right key will affect the ComboBox field, cause ComboBox value changed , how could I solve this , thanks in advance . 

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    I've got a easier way from my friend to do this !

    In dataGrid1_CurrentCellChanged() Event , add statement "ComboBox.Enable=false" in beginning to avoid the interaction , and add statement "ComboBox.Enable=true" in ending to restore its attribute.
    0