RTFLabel Createdynamic / paint on canvas

  • Hello

    I would like to paint the RTF Text on a canvas (i would like to use it for drawing a hint window)
    Therefor my task is to generate a TRTFLAbel dynamically and get the width/height from it and paint it on a canvas

    I treid a WPTMemo but this didn't give me the correct width/height and so

    and a RTFLAbel i can't create dynamically (no otpion for that)

    has someone made this allready and can point me to the right direction?