I'm testing with TRichView freeware verion and found it very intresting with couple of valuable features!!!
Can someone advice me with my little trivial problem...
I have a "chat window" where text appears very sporadic. I hold last line tracked / visible with "RichView1.FormatTile", but I will disable scroll eg. when "looking back" for older received text (and hold possible selection while new text appears in the end of RV). If I use "RV.Format" instead, the window will be scrolled to beginning... This is not meaning...want scroll maybe only few lines or only simple stop VScroll. Is there something I have missed?
shmp wrote:Try RV.FormatTail or RV.Reformat instead of RV.Format. The format should be done only once when you have just cleared RV or Load a new file.
Reformat is not implemented 9n freeware version.
FirmatTail must be used for updating chat window. ScrollToEnd property controls how the content is scrolled after FormatTail.
Sergey Tkachenko wrote:Reformat is not implemented 9n freeware version.
FirmatTail must be used for updating chat window. ScrollToEnd property controls how the content is scrolled after FormatTail.
Ok... but can't found any ScrollToEnd
Have done a notify event for tracking however the content is scrolled by user or not. (Scrolled = RV.LastLineVisible < RV.Lines.Count).
Lines.Count increases correct but I can't found how to display them when Scrolled became false again. RV.Perform(WM_VSCROLL, SB_BOTTOM, 0) have not any affect.
I am on vacation currently, and I do not have access to the source code. If there no ScrollToEnd property in freeware version, may be it has a similar option in the Options property?
You can also use VScrollPos and VScrollMax properties.