Report.AutoSearchDescription...any way to get 'lines'
Hi all,
I am using the Report.AutoSearchDescription to show a hint in a listview.
The problem is, that property is a string and has no line breaks in it, so
the hint goes off of the screen. I tried to get a hold of
Report.GetAutoSearchDescriptionLines, but it seems that this is not
available outside of the designer.
Currently, I am probably just going to search for 'and' in the string and
replace with #13, just wondering if there was a better way to do this.
Any suggestions?
Stacey
Any way to get the
I am using the Report.AutoSearchDescription to show a hint in a listview.
The problem is, that property is a string and has no line breaks in it, so
the hint goes off of the screen. I tried to get a hold of
Report.GetAutoSearchDescriptionLines, but it seems that this is not
available outside of the designer.
Currently, I am probably just going to search for 'and' in the string and
replace with #13, just wondering if there was a better way to do this.
Any suggestions?
Stacey
Any way to get the
This discussion has been closed.
Comments
There is a public Report.GetAutoSearchDescriptionLines method.
procedure GetAutoSearchDescriptionLines(aLines: TStrings)
There is an example of its use in RBuilder\Demos\AutoSearch\ Build
Description of AutoSearch Settings:
ppReport1.GetAutoSearchDescriptionLines(ppMemo1.Lines);
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com