Search found 7537 matches

by Sergey Tkachenko
Thu Sep 27, 2018 10:37 am
Forum: Support
Topic: Text formatting color problem
Replies: 2
Views: 210

Re: Text formatting color problem

uses RVTypes; type TTextColorPair = record Text: TRVUnicodeString; Color: TColor; end; TTextColorPairs = array of TTextColorPair; // Returns color for Text from the rules listed in TextColorPairs function GetColorForText(const Text: TRVUnicodeString; const TextColorPairs: TTextColorPairs): TColor; ...
by Sergey Tkachenko
Wed Sep 26, 2018 7:04 pm
Forum: Examples, Demos
Topic: [Demo] Searching with regular expressions
Replies: 0
Views: 419

[Demo] Searching with regular expressions

Searching with regular expressions RVRegEx.zip This ZIP file contains two demo projects. 1) Search from the cursor position TRichView-Regular-Expressions.png 2) Search and highlight all occurrences TRichView-Regular-Expressions-Ex.jpg The both demo projects use the same technique. They save content ...
by Sergey Tkachenko
Wed Sep 26, 2018 1:30 pm
Forum: RVMedia
Topic: passing commands to FFMpeg
Replies: 5
Views: 485

Re: passing commands to FFMpeg

Some parameters can be passed to FFmpeg by assigning sub-properties of RVCamera.FFMpegProperty .
by Sergey Tkachenko
Tue Sep 25, 2018 1:42 pm
Forum: Support
Topic: RichViewEdit input string under the original horizontal line problem
Replies: 6
Views: 321

Re: RichViewEdit input string under the original horizontal line problem

Finally, I found the best solution: 4) You can use OnPaint to draw lines below each text line: procedure TForm3.RichViewEdit1Paint(Sender: TCustomRichView; ACanvas: TCanvas; Prepaint: Boolean); var i, Y: Integer; FirstDrawItemNo, LastDrawItemNo: Integer; begin if Prepaint then exit; ACanvas.Pen.Colo...
by Sergey Tkachenko
Tue Sep 25, 2018 1:36 pm
Forum: Support
Topic: RichViewEdit input string under the original horizontal line problem
Replies: 6
Views: 321

Re: RichViewEdit input string under the original horizontal line problem

1) The first idea: you can use paragraph borders. You can hide all sides of paragraph borders except for the bottom side, and the result will look like notebook lines... But not completely. Lines will be drawn below paragraphs, not below each line. And some paragraphs may contain several lines. 2) T...
by Sergey Tkachenko
Tue Sep 25, 2018 9:21 am
Forum: RVMedia
Topic: Hikvision Speed Dome
Replies: 3
Views: 275

Re: Hikvision Speed Dome

I answered in a private message
by Sergey Tkachenko
Tue Sep 25, 2018 9:19 am
Forum: Support
Topic: Delete fonts out of TRVFontComboBox
Replies: 1
Views: 132

Re: Delete fonts out of TRVFontComboBox

Probably you tried to delete items before they were added. The combobox creates a list of fonts when its window handle is created. So, if you want to access items, make sure that the handle is created: RVFontComboBox1.HandleNeeded; Index := RVFontComboBox1.Items.IndexOf('Fixedsys'); if Index >=0 the...
by Sergey Tkachenko
Tue Sep 25, 2018 9:06 am
Forum: Report Workshop
Topic: Sample of using ScaleRichView Report Workshop
Replies: 5
Views: 1696

Re: Sample of using ScaleRichView Report Workshop

Report templates are created in a rich text editor, so you can use editing operations to insert fields, including drag&drop. In our ReportEditor demo projects, fields can be inserted by clicking in the field list (located at the left side of the main form window). But this is only a demo project, yo...
by Sergey Tkachenko
Sat Sep 22, 2018 5:28 pm
Forum: Support
Topic: Big ammount of data to display, pagination
Replies: 1
Views: 170

Re: Big ammount of data to display, pagination

TRichViewEdit loads the whole document in memory
by Sergey Tkachenko
Thu Sep 20, 2018 10:01 am
Forum: RVMedia
Topic: Missing last frames
Replies: 3
Views: 439

Re: Missing last frames

There are no errors. RVMedia write frames exactly at interval specified in TRVCamRecorder.VideoFramePerSec, as precise as possible. The only possible reason for missing last frames here is too large value of TRVCamRecorder.VideoFramePerSec: if it's not possible to encode the required count of frames...
by Sergey Tkachenko
Thu Sep 20, 2018 9:49 am
Forum: RVMedia
Topic: Hikvision Speed Dome
Replies: 3
Views: 275

Re: Hikvision Speed Dome

What is the problem exactly?
What version of RVMedia do you use?
Does the camera has username and password (there is a know problem with authorization on some cameras in RVMedia 5.3 and newer, we are solving this problem)
by Sergey Tkachenko
Tue Sep 18, 2018 3:50 pm
Forum: RVMedia
Topic: RVcamRecorder drops connection to SQL server
Replies: 3
Views: 231

Re: RVcamRecorder drops connection to SQL server

Sorry, I do not understand how video recording may affect a database connection.
Maybe you can create a simple project that reproduces the problem?
by Sergey Tkachenko
Sat Sep 15, 2018 7:56 am
Forum: RVMedia
Topic: Snapshot from an axis ip camera stream doesn't work
Replies: 5
Views: 2456

Re: Snapshot from an axis ip camera stream doesn't work

Please re-test with RVMedia 6.0. It was uploaded today (and it's not yet announced).
You can re-run RVMedia installer, it can check for updates and download the new version.
by Sergey Tkachenko
Tue Sep 11, 2018 11:10 am
Forum: Support
Topic: Why metods LoadRTFFromStream and SaveRTFToStream no Pictures
Replies: 1
Views: 249

Re: Why metods LoadRTFFromStream and SaveRTFToStream no Pictures

Please send me RTF file which is loaded without pictures (send to richviewgmailcom) or attach to this forum.

PS: if you use Lazarus, TRichView cannot load metafiles from RTF, because Lazarus does not have TMetafile class.
by Sergey Tkachenko
Sun Sep 09, 2018 11:35 am
Forum: Support
Topic: FirstPageHeader and NormalHeaders
Replies: 4
Views: 464

Re: FirstPageHeader and NormalHeaders

Call Loaded:

Code: Select all

 SRichViewEdit1:=TSRichViewEdit.Create(Self);
 SRichViewEdit1.Align:=alClient;
 SRichViewEdit1.Parent:=TWinControl(Self);
 SRichViewEdit1.Loaded;
 GenerateDoc;