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?
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.
Comments
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.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com