Recent

Author Topic: [SOLVED] Memo detection of changes  (Read 492 times)

Pe3s

  • Hero Member
  • *****
  • Posts: 533
[SOLVED] Memo detection of changes
« on: August 03, 2022, 10:11:28 am »
Hello, how can you detect that the content of the TMemo component has changed, e.g. we have entered a letter?
« Last Edit: August 03, 2022, 10:15:37 am by Pe3s »

Pe3s

  • Hero Member
  • *****
  • Posts: 533
Re: [SOLVED] Memo detection of changes
« Reply #1 on: August 03, 2022, 10:17:26 am »
Sorry for the stupid question, topic solved
I used the Modified property

Nicole

  • Hero Member
  • *****
  • Posts: 970
Re: Memo detection of changes
« Reply #2 on: August 03, 2022, 10:17:53 am »
with the "OnChange"-event.

Here is a nice tutorial and it contains code how to handle it before destroy.
https://lazplanet.blogspot.com/2013/12/create-rich-text-editor-for-yourself.html


Pe3s

  • Hero Member
  • *****
  • Posts: 533
Re: [SOLVED] Memo detection of changes
« Reply #3 on: August 04, 2022, 07:05:27 am »
Thank you  :)

 

TinyPortal © 2005-2018