Recent

Author Topic: Change font style inside a memo  (Read 3711 times)

cappe

  • Full Member
  • ***
  • Posts: 191
Change font style inside a memo
« on: March 17, 2019, 05:18:08 pm »
I should have this result with a memo field in lazreport:

Hello hello

Doing it with two memos I have problems of space between the two memos. Is there a way to do it with a memo field only?

Thank you

LazProgger

  • Full Member
  • ***
  • Posts: 103
Re: Change font style inside a memo
« Reply #1 on: March 17, 2019, 05:27:21 pm »
You want to write a bold text into a memo?
That's not possible. Use a RichMemo instead.

cappe

  • Full Member
  • ***
  • Posts: 191
Re: Change font style inside a memo
« Reply #2 on: March 17, 2019, 07:08:50 pm »
You want to write a bold text into a memo?
That's not possible. Use a RichMemo instead.

Where do I find RichMemo for lazreport?

GAN

  • Sr. Member
  • ****
  • Posts: 370
Re: Change font style inside a memo
« Reply #3 on: March 17, 2019, 08:43:11 pm »
It's impossible, you need 2 memos.

TRichMemo is a component to use in the Lazarus IDE, you will not find it in LazReport.
Lazarus 2.0.8 FPC 3.0.4 Linux Mint Mate 19.3
Zeos 7̶.̶2̶.̶6̶ 7.1.3a-stable - Sqlite 3.32.3 - LazReport

cappe

  • Full Member
  • ***
  • Posts: 191
Re: Change font style inside a memo
« Reply #4 on: March 18, 2019, 08:47:48 am »
It's impossible, you need 2 memos.

TRichMemo is a component to use in the Lazarus IDE, you will not find it in LazReport.

The problem is that I can't set the distance between one memo and another. In other words, the distance between a memo and the other set at design time is not the same as that which occurs at run time. Perhaps the problem is the fonts? Is there any way to solve the problem of the distance of the text between two memos?

 

TinyPortal © 2005-2018