Search found 7 matches

by LuckySpacy
Thu Jun 11, 2015 8:40 am
Forum: Support
Topic: RTF-image size proplem with fastreport and wordpad under Win
Replies: 1
Views: 10905

RTF-image size proplem with fastreport and wordpad under Win

RTF-image size proplem with fastreport and wordpad under Win 8. My settings: rv.RTFReadProperties.TextStyleMode := rvrsAddIfNeeded; rv.RTFReadProperties.ParaStyleMode := rvrsAddIfNeeded; rv.RVFOptions := rv.RVFOptions + [rvfoSaveTextStyles]; rv.RVFOptions := rv.RVFOptions + [rvfoSaveParaStyles]; rv ...
by LuckySpacy
Thu Jan 22, 2015 7:43 am
Forum: Support
Topic: How does the cursor jump to the starting point
Replies: 1
Views: 10018

How does the cursor jump to the starting point

I would like to change a color in a text and then the cursor should be return on the starting point. see the follow simple example. In the example the cursor starting point is behind "u" from the word "jump". Then I click on the 'btn_SetCursorToStart". The cursor appear bevor "T". Then I click on ...
by LuckySpacy
Mon Dec 15, 2014 7:31 am
Forum: Support
Topic: RTF-image-proplem with fastreport and wordPad.
Replies: 2
Views: 12616

Great, thank you!

RichViewEdit1.RTFOptions := RichViewEdit1.RTFOptions - [rvrtfSaveJpegAsJpeg];
RichViewEdit1.RTFOptions := RichViewEdit1.RTFOptions + [rvrtfSaveBitmapDefault];

This works fine.
by LuckySpacy
Wed Dec 10, 2014 9:13 am
Forum: Support
Topic: RTF-image-proplem with fastreport and wordPad.
Replies: 2
Views: 12616

RTF-image-proplem with fastreport and wordPad.

This is a rtf-file wich was saved with TRichviewEdit. If i want to print this file with fastreport the image is not visible. Same if i open the rtf-file with wordPad. Only i open it with word then the image is visible. Then i save the rtf-file with word an open it with wordpad the image is visible ...
by LuckySpacy
Tue Aug 19, 2014 2:19 pm
Forum: Support
Topic: How I can get the width and height from a item in pixel
Replies: 3
Views: 13328

How I can get the width and height from a item in pixel

My question is very simple, but I don't find the solution.

1.) How I can get the width and height from a item in pixel ?
2.) Can I get the width and height for each line?

The reason how i ask.
I have a richviewedit and i would the richviewedit height and width fit on the content text.
by LuckySpacy
Fri Nov 22, 2013 2:06 pm
Forum: Support
Topic: Can I merge 2 RTFStrings on a non visible TRichviewEdit
Replies: 2
Views: 11946

Solution

I've got it! TRvReporthelper is my friend. Here is my solution: function TfrmTest.MergeRTF(aRTFString1, aRTFString2: string): string; var List: TStringList; m : TMemoryStream; rh : TRvReportHelper; rv : TReportRichView; Style: TRvStyle; begin rh := TRvReportHelper.Create(Self); List := TStringList ...
by LuckySpacy
Fri Nov 22, 2013 11:31 am
Forum: Support
Topic: Can I merge 2 RTFStrings on a non visible TRichviewEdit
Replies: 2
Views: 11946

Can I merge 2 RTFStrings on a non visible TRichviewEdit

// Here is the working code procedure TfrmTest.Button8Click(Sender: TObject); var s: string; List : TStringList; m : TMemoryStream; begin RichViewEdit1.Style := RvStyle1; s := MergeRTF3(_Artikel.getLangBezRTF, _KuText.getLangTextRTF); [color=red]// Different to Button7Click[/color] RichViewEdit1 ...