Ms word lazarus / 21-General ---------------------------------------------------------------------- amir.eng · 2023-06-10 08:38 Hello everyone, Is it possible to create a text editor like Ms word in Lazarus ? I have worked with Lazarus spreadsheet and it was so great because I could implement spreadsheet in Lazarus forms. Now I'm trying to implement Ms word or wordpad in Lazarus with some tools for example allign texts, text size or color, create table. ---------------------------------------------------------------------- TRon · 2023-06-10 08:47 Quote from: amir.eng on June 10, 2023, 10:38:04 amIs it possible to create a text editor like Ms word in Lazarus ? Provided you have the time to do so, yes. QuoteNow I'm trying to implement Ms word or wordpad in Lazarus with some tools for example allign texts, text size or color, create table. For wordpad-a-like functionality (rtf) you could take a look at lzRichedit (https://wiki.freepascal.org/lzRichEdit), Richmemo (https://wiki.freepascal.org/RichMemo) or KMemo (https://wiki.freepascal.org/KControls#KMemo_control) There are probably more richedit related components/control but the above should be able to get you started ? ---------------------------------------------------------------------- amir.eng · 2023-06-10 10:16 Thank you so much, I tried Richedit, but I got this error : "Unable to find the component : "TlzRichEdit" After trying to add the component, I came across this error : "UTF8LowerCase" ---------------------------------------------------------------------- wp · 2023-06-10 10:39 AFAIK, TlzRichEdit is unmaintained at the moment. I recently used TRichMemo and TKMemo, and they are working (I did not use the OPM versions, though, but the versions from the developers' sites; but I guess the OPM versions should be working as well). I am not a heavy user of these components, but it is my impression that none of them allows to add tables to the rtf. And in case of TRichMemo I did not find a way how to add pictures (although it does display a picture pasted from the clipboard). To get you started: See my post on the German Lazarus forum for a simple MiniEditor based on TRichMemo (https://www.lazarusforum.de/viewtopic.php?p=135708#p135708). But note that usability of this editor is far from perfect. ---------------------------------------------------------------------- TRon · 2023-06-10 11:47 @wp: Thank you for pointing out that lzRichEdit is currently not maintained as I was not aware. @amir.eng: sorry for having suggested lzRichEdit. Would I have known that it is currently not maintained then I would not have suggested it. ---------------------------------------------------------------------- amir.eng · 2023-06-10 14:03 Thank you @wp, I downloaded it from the forum. It's great. My program is for adding engineering projects information which are saved in database by user, and I have put RichMemo for each project inside program. Do you think it's pssible to carry it out ? ---------------------------------------------------------------------- metis · 2023-06-10 14:47 http://lazplanet.blogspot.com/2013/12/create-rich-text-editor-for- yourself.html https://forum.lazarus.freepascal.org/index.php?topic=49316.0 -> see also "There's a dedicated forum here for RichMemo - see this forum."