Error message when searching for Text
Hi,
When trying to search a report for text, if matching text is found the
following exception is raised:
Exception class ESearchHighlightError with message
'TppTextSearchHighlighter.CreateHighlight: Must use a screen device to
generate highlights. TppDrawText'.
This happens in the unit ppTextSearchHighlighter.pas at line 166:
{must use a screen device to generate}
if (FDrawText.DeviceFontHeight = 0) then
raise
ESearchHighlightError.Create('TppTextSearchHighlighter.CreateHighlight: Must
use a screen device to generate highlights. ' + aDrawCommand.ClassName);
******
Is this a bug, or have I done something wrong? The report has been printed
to the screen.
Thanks & Regards
Adam
When trying to search a report for text, if matching text is found the
following exception is raised:
Exception class ESearchHighlightError with message
'TppTextSearchHighlighter.CreateHighlight: Must use a screen device to
generate highlights. TppDrawText'.
This happens in the unit ppTextSearchHighlighter.pas at line 166:
{must use a screen device to generate}
if (FDrawText.DeviceFontHeight = 0) then
raise
ESearchHighlightError.Create('TppTextSearchHighlighter.CreateHighlight: Must
use a screen device to generate highlights. ' + aDrawCommand.ClassName);
******
Is this a bug, or have I done something wrong? The report has been printed
to the screen.
Thanks & Regards
Adam
This discussion has been closed.
Comments
This issue was fixed for Build 2 of RB 10.07. Please re-download RB 10.07
and reinstall.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks for that - I didn't release their was a 2nd build of RB 10.07.
Problem all fixed.
Best Regards
Adam.