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

displayformat of tppdbmemo

edited December 2003 in General
Is there any method to format the text in tppdbmemo( like properties
'displayformat' in tpptext)
My field is currency and I want to use ,0.00 as displayformat in tppdbmemo,
any method?

Comments

  • edited December 2003
    Hello,

    Unfortunately there is no built-in way to format text in a DBMemo. As an
    alternative, you might try using a DBText component with WordWrap set to
    True. If you must use a memo component, you will either need to format the
    text manually or create a TppDBMemo descendent that adds the display format
    capability. For an example of how we use the display format class, check
    out the TppCustomText class located in the ppCtrls.pas file.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.