Search found 7590 matches

by Sergey Tkachenko
Mon Oct 08, 2018 8:08 am
Forum: Announcements
Topic: RVMedia 6 - sound and video recording
Replies: 1
Views: 910

RVMedia 6 - sound and video recording

We'v released RVMedia 6. Trial versions can be downloaded here: https://www.trichview.com/download/ There are 3 trial setups: 1) For Delphi and C++Builder (this version is recommended both for Delphi and for C++Builder) 2) For C++Builder only 3) (new) For Lazarus (Windows and Linux) This update inc...
by Sergey Tkachenko
Fri Oct 05, 2018 7:16 pm
Forum: Support
Topic: Linespacing problem
Replies: 2
Views: 518

Re: Linespacing problem

If line spacing is defined in % (ParaStyle.LineSpacingType = rvlsPercent), additional line spacing is added below each line, not above it. You can define space above the paragraph using ParaStyle.SpaceBefore property. You can increase spacing at the very beginning of the document by increasing RichV...
by Sergey Tkachenko
Tue Oct 02, 2018 5:59 pm
Forum: RVMedia
Topic: GStreamer libraries for Windows
Replies: 0
Views: 966

GStreamer libraries for Windows

RVMedia supports GStreamer v0.10, which is no longer available on the official website. You can download GStreamer 0.10 installer from our web site: https://www.trichview.com/resources/thirdparty/gstreamer-sdk-x86-2013.6.msi (for 32-bit applications) https://www.trichview.com/resources/thirdparty/gs...
by Sergey Tkachenko
Tue Oct 02, 2018 5:50 pm
Forum: RVMedia
Topic: FFmpeg libraries for Windows
Replies: 1
Views: 10758

Re: FFmpeg libraries for Windows

The version of FFmpeg above is rather old. While the version above is ok for playing video, it offers a small count of codecs for encoding (and some of them were experimental). I suggest taking newer version of FFmpeg from https://ffmpeg.zeranoe.com/builds/ (RVMedia 5.3 or newer is required to use t...
by Sergey Tkachenko
Tue Oct 02, 2018 6:02 am
Forum: Support
Topic: Multiple spaces lost when saving to HTML
Replies: 1
Views: 409

Re: Multiple spaces lost when saving to HTML

This is a bug. Quick fix: open RVStrFuncs.pas, change the following functions: function RV_ReplaceStrA(const Str, oldstr, newstr: TRVAnsiString): TRVAnsiString; var p, LastIndex: Integer; begin Result := Str; p := RVStrLow(); LastIndex := RVStrHighA(Result); while p <= LastIndex do begin p := RVPosE...
by Sergey Tkachenko
Mon Oct 01, 2018 8:36 am
Forum: Support
Topic: RichViewEdit input string under the original horizontal line problem
Replies: 6
Views: 1015

Re: RichViewEdit input string under the original horizontal line problem

Yes, you are right, drawing in OnPaint event may flicker, because it draws directly in the editor's canvas, without double buffering. We could use TRVStyle.OnDrawParaBack event instead, but, unfortunately, it does not have enough parameters to perform this kind of drawing. Two additional parameters ...
by Sergey Tkachenko
Sun Sep 30, 2018 12:47 pm
Forum: RVMedia
Topic: RVMedia and DVR
Replies: 3
Views: 836

Re: RVMedia and DVR

There is no direct support for this device. RVMedia can display it only if it provides mjpeg/h.264/mpeg video stream via http or rtsp, and url of this stream is known.
by Sergey Tkachenko
Sat Sep 29, 2018 8:32 am
Forum: Support
Topic: Move cursor position
Replies: 2
Views: 465

Re: Move cursor position

Sorry, I do not understand where do you want to move the mouse cursor.
by Sergey Tkachenko
Thu Sep 27, 2018 10:37 am
Forum: Support
Topic: Text formatting color problem
Replies: 2
Views: 581

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: 1033

[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: 1042

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: 1015

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: 1015

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: 635

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: 411

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...