Search found 9 matches
- Tue Apr 17, 2007 9:37 am
- Forum: Support
- Topic: Convert RTF to plain text
- Replies: 1
- Views: 8661
Convert RTF to plain text
I'm saving rtf text in a database and need to read it from the database and show it in a control that can't handle rtf. Is there a way for me to convert the rtf from the database to plain text without instantiate RichViewEdit or any of the other GUI components?
- Mon Apr 16, 2007 3:54 pm
- Forum: Support
- Topic: Color on the Buttons
- Replies: 1
- Views: 8220
Color on the Buttons
The Button showing Font Color and Background color are always red. Is there a way to change the color to the color that the user is currently using?
- Mon Apr 16, 2007 3:49 pm
- Forum: Support
- Topic: RTF-problems
- Replies: 2
- Views: 9534
- Mon Apr 16, 2007 1:41 pm
- Forum: Support
- Topic: RTF-problems
- Replies: 2
- Views: 9534
RTF-problems
Hi! I have a problem when using RVEdit imbedded in a form. I set a RTF text for example (test written in red font color): '{\rtf1\ansi\ansicpg0\uc1\deff0\deflang0\deflangfe0{\fonttbl{\f0\fnil\fcharset1 Arial;}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255 ...
- Tue Mar 20, 2007 1:14 pm
- Forum: Support
- Topic: Insert formatted or unformatted text to same method?
- Replies: 5
- Views: 14399
- Mon Mar 19, 2007 5:07 pm
- Forum: Support
- Topic: Insert formatted or unformatted text to same method?
- Replies: 5
- Views: 14399
It is only when i use the RVEdit inbedded in another form i get the exception: --------------------------- Debugger Exception Notification --------------------------- Project Project1.exe raised exception class EListError with message 'List index out of bounds (0)'. Process stopped. Use Step or Run ...
- Mon Mar 19, 2007 9:00 am
- Forum: Support
- Topic: Insert formatted or unformatted text to same method?
- Replies: 5
- Views: 14399
Like this:
Code: Select all
procedure TCustomRichViewEdit.SetText(sText: string);
var
rtfStream : TStringStream;
begin
rtfStream := TStringStream.Create(sText);
Self.Clear;
Self.InsertRTFFromStreamEd(rtfStream);
rtfStream.Free;
end;
- Mon Mar 19, 2007 8:07 am
- Forum: Support
- Topic: Insert formatted or unformatted text to same method?
- Replies: 5
- Views: 14399
Insert formatted or unformatted text to same method?
Hi! I need to insert two different kinds of text into TRichView. Sometimes it is RTF-formatted and sometimes it is not formatted at all. When unformatted text is inserted I get an exception when TRichView tries to figure out what font the text is in. Is there a method or something I can use to ...
- Wed Jan 24, 2007 8:49 am
- Forum: Support
- Topic: Localization Problem
- Replies: 1
- Views: 8485
Localization Problem
I use a rewriting of the ActionTest demo. But in my project the Localisation will not work (It Localizes the top menus but nothing more). I haven't rewritten anything in the localization files or in the call to the localization. When i debug i see in TRVCustomAction.Localize that the correct ...