THtmlViewer component
Declaration
property Position: LongInt;
The Position property is a coded number (LongInt) which specifies the part of the document appearing at the top of the window. Since this number is relatively independent of document reformatting, it may be used to save a position to be returned to at a later time.
Specifying a Position of 0 will take you to the top of the document. Other values are not easily calculated.
For an alternate method of positioning, see:
var
SavePos: LongInt;
....
SavePos := Viewer.Position; {save the position}
....
{intervening operations which may reformat the document}
....
Viewer.Position := SavePos; {return to original spot in document}