trichview.com

trichview.support




Re: How to know the last line visible?


Return to index


Author

Message

gaiety

Posted: 11/16/2004 15:02:04


rv.VScrollPos = rv.VScrollMax


yes,this is what i want,thank you.


"Sergey Tkachenko" <svt@trichview.com> wrote:

>You can check rv.VScollPos = rv.VScrollMax.

>Not exactly "is last line visible", but probably can suit your needs.

>

>>

>> I want to know the last line visible or not(not the last item).

>> I use the LastItemVisible,but if the last item contain many line,this

way

>> can not work good.

>>

>> I place a TRichViewEdit,and when i add some text,i want to know the last

>> line visible or not to decide scroll.

>>

>> Thanks

>

>





Powered by ABC Amber Outlook Express Converter