Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP9 report preview with search ability
Message
De
19/08/2005 01:18:20
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
 
À
18/08/2005 18:44:06
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:
01042167
Vues:
22
Thanks
I'll try your suggestion.

>Dorin -
>
>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+.

>
>The "quick and dirty" way that I have done it this: You need to put your BOX() call in a ReportPreview ExtensionHandler's Paint() event. This will cause looping, so you need to implement a timeout after which your BOX() code is not executed. If you choose, say, 3 seconds, this means that the area of the page is highlighted for 3 seconds, after which the highlight goes away and does not appear again.
>
>During those three seconds, the paint is being called over and over again. That's why it's a good idea to limit the time duration.
>
>...I said it was quick and dirty. But the effect is actually quite pleasing. It is by no means the best or only way to do it.
>
>- Colin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform