Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-08

What to use instead of Delphi's RichEdit component?

7 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

leledumbo
to Ajeandro Gonzalo

Because Delphi's RichEdit is a wrapper over Win32 API component which doesn't have counterpart in other widgetsets. There are two alternatives which are built in a cross-platform way:
http://wiki.freepascal.org/RichMemo
http://wiki.freepascal.org/RichView (no editing features AFAIK)

Reply by email

Leonardo M. Ramé
to leledumbo
leledumbo wrote 6 lines
Because Delphi's RichEdit is a wrapper over Win32 API component which doesn't have counterpart in other widgetsets. There are two alternatives which are built in a cross-platform way: http://wiki.freepascal.org/RichMemo http://wiki.freepascal.org/RichView (no editing features AFAIK)

There's also lzRichEdit, you can get it using svn from:

http://lazarus-br.googlecode.com/svn/trunk/package/lzRichEdit

Hopefully some day somebody will convert TRichView (www.richview.com), the best rich editor I've seen so far.

Regards,

Reply by email

Bernd
to Ajeandro Gonzalo: Strangely, this popular and useful component seems to be missing from Lazarus. Why? A. G.

For only displaying some colored text (not editing) it might be enough to use the html control from turbopower_ipro that comes with lazarus, so no installing of 3rd party component needed.

For example I am soon going to use this control to display the incoming chat messages in my (yet to be written) instant messenger, there I'm going to need colored time stamps, nicknames and hyperlinks in the text and maybe also smileys and other fancy stuff but no text entry, only display. It can display partial (incomplete) documents (no closing html or body tag) which is important because new content will be added at the end and it seems to be very fast, fast enough to give no problems even with very long texts (huge backlogs of old chat sessions).

Reply by email