johnkwaldron
New member
- Joined
- Sep 1, 2009
- Messages
- 1
- Programming Experience
- 1-3
Is there any way to highlight a single word/character in a cell of a DataGridView row?
Using the paint event its possible to achieve a 'highlight' as long as the row is not wrapped - but it seems impossible to do accurately when wrapping/multiline is present.
Its possible to use UCase() to provide a degree of highlighting, but I would like to use a different font color to really make the result of a search (for eg) to stand out.
I would have thought that this requirement is quite common - but no simple solution seems to be available.
Thanks in anticipation.
Using the paint event its possible to achieve a 'highlight' as long as the row is not wrapped - but it seems impossible to do accurately when wrapping/multiline is present.
Its possible to use UCase() to provide a degree of highlighting, but I would like to use a different font color to really make the result of a search (for eg) to stand out.
I would have thought that this requirement is quite common - but no simple solution seems to be available.
Thanks in anticipation.