General information
Category:
Reports & Report designer
Hi David, thanks for your reply
I didn't followed the hard part to create a ReportPreview from scratch. I've used the already designed ReportPreview and I changed the code in updatelistener class from ReportOutput (the cursor creation in Init and filling in Render). This part works.
The search from the ReportPreview triggered by toolbar buttons/keyboard also works, but without the highlighting.
I believe that is because the call of OutputPage with eDevice=2 parameter. I tried with line,box,shape. I tried to get the HWnd of the client area and use GDI+ to draw a shape. No luck :(. Maybe VFP creates other child windows based on canvas coordinates. If I can know how to get these handles, maybe I can succed in highlighting text on page.
>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).
>
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only