Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement