OnPaint Event - TWPFont cannot be assigned to a TFont

  • Hello:

    Can someone please try this quickly to see if this is really a bug? It will only take a minute or so.

    1. Create a new Delphi project. (I'm using Delphi 2006)

    2. Drop a TWPRichText on the form.

    3. Double-click the OnPaint event for the TWPRichText. (just put a comment in it so that Delphi does not remove it).

    4. Run the program and try to type in the TWPRichText.


    When I do this I get an EConvert exception 'TWPFont cannot be assigned to a TFont".


    Any ideas?

    Thanks,

    Dale