Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP9 report preview with search ability
Message
From
21/08/2005 10:36:31
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
 
To
18/08/2005 18:44:06
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
SAMBA Server
Miscellaneous
Thread ID:
01041840
Message ID:
01042561
Views:
24
Hi Colin
I've managed to "escape" from the Pain() of Paint() :)
I've tried combinations of TempStopRepaint = .t./.f. . I don't know how, but is working.

First highlight is erased after a flash, though.

>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.
>
Previous
Reply
Map
View

Click here to load this message in the networking platform