PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Form Programming .OnAction method when enter pressed

Reply

.OnAction method when enter pressed

 
Thread Tools Rate Thread
Old 27-01-2004, 11:06 PM   #1
=?Utf-8?B?amJoYW4=?=
Guest
 
Posts: n/a
Default .OnAction method when enter pressed


Hi,

I have a commandbarcombobox (edit control) which is to function as a searchbox. I want a method to be called when the user presses the enter key in this combobox. I tried assigning a method name to the .OnAction property of the combo control but it never gets called ( no errors either).
Is there any other way for me to capture the enter key press event. The combo only has an on change event and it fires event when I click in the combobox with a mouse and then click outside anywhere else on the command bar ( and I don't want my search to be triggered randomly like that)

Any suggestions would be most welcome.
Thanks,
Juhi.
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off