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

RB and HTML rendering

edited October 2001 in General
Hi there

I need to render HTML fields on a RB report.

Does anyone know of a control to use?

Has anyone used the WPTools (www.wptools.de) control to do this?

Any help would be great

Thanks
Darren

Comments

  • edited October 2001
    We aren't aware of any component which has been used to do this from an RB
    preview. You may be able to use a JITPipeline feeding the hyperlinks to a
    DBText component and hook into its OnDrawCommandClick event. Check out the
    help topic for OnDrawCommandClick. A handle to the draw command object is
    passed as a parameter of this method, and you can check its type to make
    sure it is a TppDrawText and then pull the text from the drawcommand's text
    property (which will be the hyperlink as a string). We haven't tried it,
    but you should be able to research how to take this string web address and
    launch a web browser which will direct the browser to the web page.

    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited November 2001
    Thanks for the reply Jim

    I was more meaning is there a control that would display/render html (ie.
    "This word is bold")

    A control that can produce what the html would look like in a browser on the
    RB canvas.

    We have paras stored in the database that have formating using html tags. We
    require to show these paras on a report with the correct formating


    Thanks
    Darren

  • edited November 2001
    "Darren Hunter" wrote in message
This discussion has been closed.