This is a migrated thread and some comments may be shown as answers.

Incremental Search and key mnemonics

1 Answer 62 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 28 Jun 2009, 10:28 PM
Hi Guys

Can anyone help me with this?

I'm using a tree view and have enabled incremental search, which works just fine.

How ever because I have a button with a mnemonic (&Close) when I press "C" the form closes!!

I'm using C# and have converted from VB6 where the user had to hold down the ALT key as well.

Does anyone have a clean work around , preferably one that does not have to be put into each form/button?

Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Bob
Top achievements
Rank 1
answered on 01 Jul 2009, 10:16 PM
Thanks Guys

I resolved this one by using the HTML feature to provide the underline on the radButton and then intercept Key Up to call PerformClick as required.
Tags
Treeview
Asked by
Bob
Top achievements
Rank 1
Answers by
Bob
Top achievements
Rank 1
Share this question
or