trichview.support
Loading page and scrolled position |
Author |
Message |
GaryJoy |
Posted: 02/21/2003 13:25:14 Hi, When I load a page using InsertRVFFromStreamEd in a RichViewEdit, it scrolls to the end of the page, even though I have this option turned off in Options. I call Clear, then load the file from stream then Format. Is there a way to prevent the scrolling, or to go right to the very top of the document. I want the document to be right at the top, not scrolled. I've found that calling iItemNo := 0; iOffs := RV.GetOffsBeforeItem(iItemNo); RV.SetSelectionBounds(iItemNo,iOffs,iItemNo,iOffs); does not scroll right to the top, but almost to the top. Thanks. Gary |
Powered by ABC Amber Outlook Express Converter