Questions tagged [trichedit]

TRichEdit is a VCL control that wraps the Windows Rich Edit common control. It is defined in the ComCtrls.pas unit.

TRichEdit is a VCL control that wraps the Windows Rich Edit common control. It is defined in the ComCtrls.pas unit.

68 questions
0
votes
1 answer

Delphi TRichEdit Set background shape as rounded edge rectangle

My problem is to set the background shape to something like rounded edge rectangle. The fact that when you put background color on the text on TRichedit, the background shape would be a rectangle, not rounded edge. I would like to put some sample…
junmats
  • 1,894
  • 2
  • 23
  • 36
0
votes
1 answer

How to copy specific lines from one TRichEdit control to another?

I'm new with delphi and I'm trying to figure out how to load specific lines (and not the complete text) from one richtextbox to another one. procedure TForm1.richedit1change(Sender: TObject); var ms: TMemoryStream; begin ms :=…
user2618164
  • 23
  • 2
  • 5
0
votes
1 answer

RichEdit get line from pixel position

If I click inside a TRichEdit control, how can I get the Line index (I clicked on) from the mouse client coordinates? In other words, how do I convert a client coordinate to a Line Index? ***EDIT I'm actually not clicking inside the TRichEdit…
Max Kielland
  • 5,627
  • 9
  • 60
  • 95
0
votes
1 answer

Looking for VCL control like TMemo but does not have 64kB limit

I am looking for a VCL control like TMemo that can manage multiple lines and do not have a 64kb data limit. I have tried TRichEdit but encountered the RichEdit insert line error. I do not need to insert rich text so a TMemo alike VCL control is…
alancc
  • 487
  • 2
  • 24
  • 68
-1
votes
2 answers

Delphi TRichEdit to Array and local storage

I'm looking for informations on how to put TRichEdit into an Array and save it to Local file (ex: File.dat). The goal is to store a number of text, with a description, and the 'name' of it. I think I have to start with: type TMessage = record …
benda
  • 31
  • 5
-1
votes
2 answers

How can I get TTNTRichEdit unicode content in Delphi 7?

How can I get/set a TTNTRichEdit RTF content in unicode (utf8/utf16) format? I use the TRichEdit.loadFromStream/saveToStream methods by TStringStreams to get-set the RTF content. But it use just locale dependent ANSI codes for non standart ASCII…
The Bitman
  • 1,279
  • 1
  • 11
  • 25
-1
votes
2 answers

How to modify RTF file with images from the code

I have template of document in RTF format and it contains some text and some images (created with WordPad, Win 7). I need to change some text and save it. I am trying to do it like this (Delphi XE7, Win32 platform, Windows 7 x64 SP1): …
Andrei Galatyn
  • 3,322
  • 2
  • 24
  • 38
-1
votes
1 answer

fcharset2 font characters show up as symbol chars

The following piece of RTF is similar with the RTF some users saved here and there in the last decade using a delphi application via a custom wordpad like little app (modeled after a sample that came with Delphi) that uses the trichedit control. The…
boggy
  • 3,674
  • 3
  • 33
  • 56
1 2 3 4
5