Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP9 report preview with search ability
Message
From
22/08/2005 04:12:35
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
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:
01042610
Views:
30
Hi, thank you for yout testing.

>I found a few bugs:
>- time at time, highliting border is hidden (show+hide) - after changing zoom resolution

Is that pesky Paint event :). Hard to get rid of it.

>- anytime, highliting border is visible, but is outside viewport
>- how are hot keys? (ctrl+f for last page?)

Both return nKeyCode = 6. Didn't changed this.
I've added handling only for the following
S = search
A = search Again
+ = zoom in
- = zoom out
DblClick = toggle whole page


>Questions:
>- is possibly highliting only finding word(s)?

It is, but I will have to switch to FRX and include font information from frx cursor. Then, when searching, calculate text width and try to highlight only found text.
This will slow down rendering a lot.

>- will be support escape characters? (%* _?)

Maybe, if I can get an algorithm. Currently is only LOCATE FOR cSearchText $ Contents

>- will be finding history?

Thanks to Autocomplete feature, this is easy.

>
>Yes, post to download area. Many peoples found many bugs.
>

OK. I'll post it there. But I wonder if is legal? I modified classes from xsource.

Dorin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform