trichview.com

trichview.support




Re: Auto scroll in TRichViewEdit


Return to index


Author

Message

Sergey Tkachenko

Posted: 09/23/2003 21:18:56


Change to:

rve.Height := rve.DocumentHeight + rve.VSmallStep + <borderwidth>


(rve.VSmallStep can be set to 1 before formatting)



>

> Hello again:

>

> I have another problem. I need that the text that the RichViewEdit load,

> RVE.LoadFromFile(xxxx), it does not change its height, and for do this,

after

> the load, I write rve.Height := rve.DocumentHeight and Rve.VScroll.Visible

> := false, but when the user is on the last line of the RichViewEdit

window's

> the control scroll automatically the text about 1/2 line upwards. Can I

avoid

> this behavior ?

> Thanks

> Fernando Alonso





Powered by ABC Amber Outlook Express Converter