Hi Chris,
I attempted to implement the attached into your Wild Search program, but it is deeper than I thought.
Your search works great, but the addition to display the searched text within the return would enhance the operation.
If you agree and are so inclined to have a look, I have the routine authored by J. A. Diego Kerejeta attached.
Rick
Highlighting of text with string
Highlighting of text with string
- Attachments
-
- HighLight.zip
- (12.17 KiB) Downloaded 985 times
Re: Highlighting of text with string
Hi Rick,
With the new possibilities of DCBROWSE it will be easy to implement this.
When you have your array returned of wildsearch, use dc_setscopearray(aArray) and show the browse. In the new dcbrowse there is an ownerdraw functionality, which you can use to display the text of the search in a different color.
With the new possibilities of DCBROWSE it will be easy to implement this.
When you have your array returned of wildsearch, use dc_setscopearray(aArray) and show the browse. In the new dcbrowse there is an ownerdraw functionality, which you can use to display the text of the search in a different color.