Can we restrict the length of a Rich View

General TRichView support forum. Please post your questions here
Post Reply
Tarun
Posts: 13
Joined: Wed Nov 01, 2006 12:25 pm
Location: India

Can we restrict the length of a Rich View

Post by Tarun »

Hi,


I want to know that Can we restrict the length of a Rich view ?
Means I want Rich View contains MAX 200 Characters not more then that.

Is it possible ?


I am using property - MaxLength, but this property is working like Max character length in a line, when i am entering more character then it become in a new line of the Rich View.


As we have the Concept in Memo, if we specify the max char length, then it will not allow to enter more character.

Please give me the Solution.


Thanks & Regards,
Tarun
Sergey Tkachenko
Site Admin
Posts: 17561
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

No, it's not possible. But you can calculate a number of characters in OnChange, and call Undo if it exceeds the limit.
johnF
Posts: 27
Joined: Mon Feb 02, 2015 4:41 pm

Post by johnF »

Hi, could this feature be implemented?

Would be good to have for apps writing twitter messages, amongst others.
Post Reply