Fire a buttons click event when enter pressed in combo box

  • Thread starter Thread starter kohoutec
  • Start date Start date
K

kohoutec

Hi

Im very much a beginner so apologies if my terminology is wrong. I have a
combo box with some items already loaded, the users can also enter a new
item. If they enter a new item and then press return on the keyboard I
want to fire a buttons click event.

I know I've seen how to do this somewhere but for the life of me cannot
remember where!

Thanks
 
See Button.PerformClick

Thanks Bob. I actually found what I was after using the forms AcceptButton
property, but any info is useful info at the moment.

Jon
 
Back
Top