Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Report.AutoSearchDescription...any way to get 'lines'

edited January 2005 in General
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

Comments

  • edited January 2005

    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
This discussion has been closed.