trichview.com

trichview.support




Limiting text input to prevent scrolling


Return to index


Author

Message

Phil Emerson

Posted: 01/29/2003 14:54:53


Hi,


I am trying to use TRichEdit on a form, but I want to prevent the user from

typing more input than can fit in the visible area - ie - I don't want

scrollbars to ever appear. Because the fonts etc can be various sizes, I

can't think of a good way to calculate the height of the document and stop

them typing when they are about to exceed it.


Does anyone have any suggestions?


Thanks,


Phil





Powered by ABC Amber Outlook Express Converter