Re: setting view positions?

Jeff Hostetler (jeff@abisource.com)
Mon, 20 Sep 1999 10:51:05 -0500


Justin Bradford wrote:
>
> How can I make it show a specific part of a document?
> For example, I want to select a word in the document and then have that
> text centered in the user's display.
>
> Would setYOffset() in fv_View be right? If so, how can I figure the Y
> offset with just the doc position?

i'm not exactly sure what you need or what exactly you want
to do, but you might look at the find/replace code and see
how the find-next button scrolls the text into view and
highlights it.

jeff



This archive was generated by hypermail 1.03b2.