What happens when you Click in the DataGrid's new row

  • Thread starter Thread starter fiaolle
  • Start date Start date
F

fiaolle

Hi
I have a DataGrid with comboboxes and I'm woundering what runs when a user
clicks in the DataGrid or ComboBox. When I choose something in the combobox
with the KeyUp event nothing happens, but when I click and choose an item in
my combobox a new row appear in the DataGrid and that is what I want to
happen when I choose an item by pressing keys.
Is there someway I can get the same thing to happen whether I click or press
keys.

Please Help!!!!

Fia
 
fiaolle said:
Hi
I have a DataGrid with comboboxes and I'm woundering what runs when a user
clicks in the DataGrid or ComboBox. When I choose something in the combobox
with the KeyUp event nothing happens, but when I click and choose an item in
my combobox a new row appear in the DataGrid and that is what I want to
happen when I choose an item by pressing keys.
Is there someway I can get the same thing to happen whether I click or press
keys.

Please Help!!!!

Fia

If you have a ComboBox in a DataGrid (as opposed to a DataGridView) you
are using a user-derived class. You should be able to add any events
that you want into its declaration, including KeyUp.

B.
 
Back
Top