trichview.com

trichview.support




Re: Size of control


Return to index


Author

Message

Sergey Tkachenko

Posted: 10/17/2002 13:03:40


After calling Format, in OnResize and OnChange events, set


rv.Height := rv.DocumentHeight+4 {border} + rv.VSmallStep;


(VSmallStep can be set  = 1 before formatting)



> Hi

>

> Is there a way of making the control the same size as the text would

require

> so that scroll bars would not be needed.  ie The richview control could be

> placed in a scroll window and sized to the size of the text.  This would

> help

> me with my form designer project.






Powered by ABC Amber Outlook Express Converter