M
MindWanderer
I have created a rich text box for my application and a tool strip
which has bold, italic, underline and other formatting icons on it,
that affect the selected text's formatting. I've also written a key
down event handler for the form the text box is in that handles
keyboard shortcuts.
All my shortcuts work right except Control I. It seems Control I has
built in functionality that tabs the RichTextBox, so when you try to
make something italic now with the shortcut you tab and your selection
is italic. I'm looking for a way to disable this built in shortcut, as
I've enabled regular tabs to be used in the RichTextBox anyway with
AcceptsTab.
Any idea what I need to do to stop the default behavior of Control I?
which has bold, italic, underline and other formatting icons on it,
that affect the selected text's formatting. I've also written a key
down event handler for the form the text box is in that handles
keyboard shortcuts.
All my shortcuts work right except Control I. It seems Control I has
built in functionality that tabs the RichTextBox, so when you try to
make something italic now with the shortcut you tab and your selection
is italic. I'm looking for a way to disable this built in shortcut, as
I've enabled regular tabs to be used in the RichTextBox anyway with
AcceptsTab.
Any idea what I need to do to stop the default behavior of Control I?