Dorin,
You may already know this, but Doug Hennig did the same thing in a series of two articles in FoxTalk -- April and May, 2005. He uses the info in his rendering info cursor to draw lines around each item found during the search. If you have a FoxTalk subscription, you can see the solution to your question in part 2 (May issue).
>I've designed a variant of the report listener that creates a cursor with text content,coordinates and page as is rendered.
>Also I've created a variant of ReportPreview that has Search/Search again buttons, which trigger the searching in attached cursor. Everything goes well, it jumps correctly to the page that contains searched text.
>I tried to higlight the portion of preview area using shape, lines, Box().
>Nothing worked. I only see a flash when the shape around text is drawn, then the page is redrawn without it.
>Any other ideas about highlighting an area in preview page? Maybe with GDI+.
>
>TIA