TRichView, automatically show scrollbar

From: Dimitris Andrakakis (dandraka_at_DIE_SPAMMERS_DIEmyrealbox.com)
Date: 03/28/05


Date: Mon, 28 Mar 2005 15:55:07 +0300

For those who have used TRichView and/or TRichViewEdit:

Is there a way to show the vertical scrollbar only when it is needed, i.e.
when the contents do not fit into the control? Either via some property
(TRichView.autoShowScrollBars would be nice :-) or via code, something like
(silly oversimplification here):

if myRV.doesNotFit then myRV.VScrollBar:=true;

-- 
Dimitris Andrakakis
ATES Developer, Interfranchise S.A.