문제

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