Вопрос

I (still) use Delphi 7, with Report Builder (Digital Metaphors). I have a DbRichText, I would like to write just the first word in bold. It would be better to use onCalc on the run-time editor instead of coding in Delphi, but I'll acept any kind of solutions and suggestion. Thanks

Это было полезно?

Решение

I found this solution:
1) I create a memo field in database where I put an rtf text.
Example:
'{\rtf1\ansi \b first\b0 word \par second line}'
2) OnCalc function of report builder of a RichView object, I do:

obj.RichView := TableName['rftField'];


Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top