>You did put the code in the keypress of the editbox ?
>
>I did not test with a search form. If the search for is Modal - then the menu is disabled...
>
Gregory,
I put the code from your original message (not the second message) into the KeyPress and Rightclick method code exactly as it was written.
The Search form is modeless and it could be invoked from the menu by Ctrl+F keys.
Now, from the search menu I invoke the form with the editbox, right click on it and do a search. Then I close the Find Window dialog and by sitting on the Notes field click Ctrl+F again.
I guess it's the correct behavior (without the new code it would behave the same), but a bit strange for the user (me).
If it's not broken, fix it until it is.
My Blog