C# I need a way to fully trap a combobox events for data-selection/ escape selection

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • isaacsam
    New Member
    • Apr 2010
    • 1

    #1

    C# I need a way to fully trap a combobox events for data-selection/ escape selection

    i am new in c#,
    I am writing a userControl class that has a combo box,
    which can be used by MS-forms.

    in the userControl class, I use the Combo_close event for processing,
    but this tends to triggered the event even if the user press the <Esc> key
    or mouse click outside the combo-box.

    how can i trap the event(s) only when a field is selected from the combo-list or when the user keyin the full field (new data or existing data on the combo-list) and press <Enter> to accept.

    any help on this will be greatly appricated

    your
    IsaacSam
Working...