R
Richard Lewis Haggard
In VS05, I have a form that has a standard RichTextBox control in which my
client wants to be able to type an Enter key and have the RichTextBox
respond by inserting a new line instead of either moving to the next control
in the Z order or closing the form. He doesn't want to use Ctrl+Enter. He
wants to use a plain Enter key. Now, back in the Bad Ole Days, there was an
attribute 'WantsReturnKey' that would enable exactly this sort of behaviour
but I do not see that particular attribute available now. What must one do
so that the Enter key is inserted into the RichTextBox instead of being
passed to the default form?
--
Richard Lewis Haggard
General: www.Haggard-And-Associates.com
"Have you noticed? Dogs have owners. Cats have staff."
Please come visit here for a couple thousand good giggles!:
www.haggard-and-associates.com/Humor/humor.htm
client wants to be able to type an Enter key and have the RichTextBox
respond by inserting a new line instead of either moving to the next control
in the Z order or closing the form. He doesn't want to use Ctrl+Enter. He
wants to use a plain Enter key. Now, back in the Bad Ole Days, there was an
attribute 'WantsReturnKey' that would enable exactly this sort of behaviour
but I do not see that particular attribute available now. What must one do
so that the Enter key is inserted into the RichTextBox instead of being
passed to the default form?
--
Richard Lewis Haggard
General: www.Haggard-And-Associates.com
"Have you noticed? Dogs have owners. Cats have staff."
Please come visit here for a couple thousand good giggles!:
www.haggard-and-associates.com/Humor/humor.htm