Recent

Author Topic: How to turn OFF Word Wrap in KMemo  (Read 968 times)

seany

  • Full Member
  • ***
  • Posts: 120
How to turn OFF Word Wrap in KMemo
« on: February 27, 2023, 04:53:32 am »
Hello

I am investigating the use of KMemo. I see the notes here : https://wiki.freepascal.org/KControls/KMemo_notes . Also this post mentions KMemo as an advanced option https://forum.lazarus.freepascal.org/index.php/topic,62390.msg471980.html#msg471980 .

I would like to turn Word-Wrap off in KMemo. But, I can't find any way to do it. Can anyone please tell me how to achieve it? Thank you.
My projects, among others:

https://linktr.ee/siderealNight

paweld

  • Hero Member
  • *****
  • Posts: 1525
Re: How to turn OFF Word Wrap in KMemo
« Reply #1 on: February 27, 2023, 07:03:04 am »
Code: Pascal  [Select][+][-]
  1. KMemo1.ParaStyle.WordWrap := False;    
Best regards / Pozdrawiam
paweld

chiong

  • Newbie
  • Posts: 6
Re: How to turn OFF Word Wrap in KMemo
« Reply #2 on: November 07, 2025, 12:03:48 pm »
Code: Pascal  [Select][+][-]
  1. KMemo1.ParaStyle.WordWrap := False;    

I am using lazarus in kubuntu 24. The kmemo won't turn off the wordwrap. Is there another way to do this ? TQ

Thaddy

  • Hero Member
  • *****
  • Posts: 18524
  • Here stood a man who saw the Elbe and jumped it.
Re: How to turn OFF Word Wrap in KMemo
« Reply #3 on: November 07, 2025, 01:03:43 pm »
Try setting the horizontal scrollbar.
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

 

TinyPortal © 2005-2018