By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,948 Members | 1,103 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,948 IT Pros & Developers. It's quick & easy.

maximum number of lines to a RichTextBox

P: 7
Can anyone tell me how to set a maximum number of lines to a RichTextBox control and show a message when number of lines exceeds the maximum number???
Mar 18 '12 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 100+
P: 465
Theres not a way (that I know of) where you can set the max number of lines in the control. You could write a method that checks how many lines are in the control then act accordingly
Mar 18 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.