How do i trigger tab key on press enter key?
How do i trigger tab key on press enter key in c#(Winforms-Richtextbox)?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Saber ShaikhRank #1,687 · 905 reputationPosted Feb 1, 2015, 7:13 PM EST
theLizardRank #1,079 · 1.8K reputationPosted Feb 2, 2015, 12:46 PM EST
Is it to insert a tab in the RichTextbox?
If so, what if you want a new line which is the default action, if you want the Enter key to trigger a move to the next control in tab order then you will need to look at the RichTextbox Keydown event.
You do not provide enough information to know what exactly you want to do when we know what you are after then someone may be able to help you.