Recent

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

cappe

  • Jr. Member
  • **
  • Posts: 97
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

  • Jr. Member
  • **
  • Posts: 91
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

  • Jr. Member
  • **
  • Posts: 97
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

  • Full Member
  • ***
  • Posts: 224
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 1.8.4 FPC 3.0.4 Linux Mint Mate 17.2 x86_64 GTK-2
Zeos 7.1.3 - Sqlite 3.8.2

Foro Lazarus en español http://forum.lazarus.freepascal.org/index.php/board,73.0.html

cappe

  • Jr. Member
  • **
  • Posts: 97
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?