General information
Category:
Reports & Report designer
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
Previous
Next
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