>Hi Dorin,
>
>I have started to implement your code, although in a slightly different manner: I am trying to keep all changes inside my exe and stick with the ReportOutput.app and reportpreview.app that come with VFP9
I thought about this too, but I was afraid that the code execution will be redunant, because the pages are rendered and after that the extension handler code is executed. The highlight is done in RenderPage.
Also I modified code in original application to avoid toolbar handling and other thing that didn't work as I expected (in SetReport(), Show()
from Paint()
...
THIS.RenderPages()
...
THIS.ExtensionHandler.Paint()
So, I assume that your ExtensionHandler Paint will only highlight found text, is this the case?
>By know it runs but the rectangle is drawn about an inch above where it should be.
That is because toolbar height, I believe.