trichview.support
Re: One-line TRichViewEdit |
Author |
Message |
Yoerdes |
Posted: 05/15/2003 8:14:24 Yernar Shambayev wrote: > You should handle OnChange event, use IsFromNewLine method (to count number > of lines) and Undo method. Thank you. TRVStyle has a ParaStyles property. One of the ParaStyle items is "Paragraph style". I set its Options to [rvpaoNoWrap, rvpaoDoNotWantReturns]. That and setting Key in the OnKeyPress event to 0 if it's VK_RETURN seems to do it. |
Powered by ABC Amber Outlook Express Converter