Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP9 report preview with search ability
Message
De
18/08/2005 18:31:31
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
 
À
18/08/2005 09:43:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
SAMBA Server
Divers
Thread ID:
01041840
Message ID:
01042114
Vues:
21
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).
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform