Search found 8466 matches

by Sergey Tkachenko
Sat May 08, 2021 2:21 pm
Forum: Support
Topic: Garbled rendering of TppDBRichview
Replies: 5
Views: 2065

Re: Garbled rendering of TppDBRichview

In the new version of RichViewActions, this event can be removed. Use TRVFontSizeComboBox. Assign its properties: RVFontSizeComboBox1.ActionFont = rvActionFontEx1; RVFontSizeComboBox1.Editor = RichViewEdit; And it will do all the work automatically. The same is for font names, use TRVFontComboBox wi...
by Sergey Tkachenko
Wed May 05, 2021 4:46 pm
Forum: Support
Topic: Garbled rendering of TppDBRichview
Replies: 5
Views: 2065

Re: Garbled rendering of TppDBRichview

This text has font size = 0. When this font is applied to a canvas, results may be different. ( I have a guess why this font size may appear. A very old code of ActionTest demo used rvActionFontEx.Font.Size to implement a font size combobox. In newer version of RichViewActions, rvActionFontEx.Font.S...
by Sergey Tkachenko
Mon May 03, 2021 7:44 am
Forum: Support
Topic: Markdown URL
Replies: 2
Views: 1540

Re: Markdown URL

Are images on remote URLs? By default, the components load images only from local files. If you need to download images, you should do it in OnImportPicture event. It is called not only for Markdown import, but for import from all formats that may contain external images. For example, you can use In...
by Sergey Tkachenko
Thu Apr 29, 2021 6:01 pm
Forum: Support
Topic: RTL since Version 17
Replies: 2
Views: 1813

Re: RTL since Version 17

Do you mean processing of bidirectional text? As far as I remember, a major rewrite of this code was in version 15.x, when Uniscribe support was introduced. Since that, there were changes related to arrangement of items on a line, and related to loading and saving bidirectional text in RTF. But I ca...
by Sergey Tkachenko
Wed Apr 28, 2021 5:27 pm
Forum: Support
Topic: Garbled rendering of TppDBRichview
Replies: 5
Views: 2065

Re: Garbled rendering of TppDBRichview

Can you create a simple project where I can reproduce the problem?
by Sergey Tkachenko
Fri Apr 23, 2021 10:10 am
Forum: RVMedia
Topic: limit the shooting area
Replies: 3
Views: 1784

Re: limit the shooting area

This is not a built-in feature. However, you can use events when you can modify the frame or draw your image instead of a frame. The events are: - TRVCamera.OnGetImage (see the example of its using in the demos Cameras\MotionDetect and MotionDetect_Old) - TRVCamView.OnPaint (see the example of its u...
by Sergey Tkachenko
Thu Apr 22, 2021 8:43 am
Forum: RVMedia
Topic: limit the shooting area
Replies: 3
Views: 1784

Re: limit the shooting area

Sorry, I do not understand your question. Do you want to display (or process) only a part of video frame at the specified coordinates?
by Sergey Tkachenko
Wed Apr 21, 2021 8:19 pm
Forum: Examples, Demos
Topic: [Example] DeleteBlankLines, RemoveParagraphBreaks, etc.
Replies: 21
Views: 107575

Re: [Example] DeleteBlankLines, RemoveParagraphBreaks, etc.

I modified the code in my previous reply to fix it.
by Sergey Tkachenko
Tue Apr 20, 2021 5:10 pm
Forum: Examples, Demos
Topic: [Example] DeleteBlankLines, RemoveParagraphBreaks, etc.
Replies: 21
Views: 107575

Re: [Example] DeleteBlankLines, RemoveParagraphBreaks, etc.

procedure MakeSoftLineBreaksEd(rve: TCustomRichViewEdit); var ItemNo1, Offs1, ItemNo2, Offs2: Integer; Whole, FR: Boolean; i: Integer; begin rve := rve.TopLevelEditor; if not rve.BeforeChange(False) then exit; rve.GetSelectionBounds(ItemNo1, Offs1, ItemNo2, Offs2, True); Whole := (ItemNo1<0) or ((I...
by Sergey Tkachenko
Mon Apr 19, 2021 8:40 am
Forum: Support
Topic: FViewer in RVHTMLImport
Replies: 2
Views: 3647

Re: FViewer in RVHTMLImport

TopLevelEditor is an editor containing the caret.
In viewer (TRichView), there is no caret, and there is no editor.

You can use table.Cells[r,c].SetSelectionBounds
(but before selecting in cell, call table.Cells[r,c].Edit, or table.EditCell(r,c), it is necessary even in a viewer)
by Sergey Tkachenko
Wed Apr 14, 2021 10:27 am
Forum: Support
Topic: RVHTMLImporter
Replies: 2
Views: 3580

Re: RVHTMLImporter

Currently, <li type> is not supported, sorry.
And I think I will not add its support in near future, because TRichView does not support markers of different types at the same list level of the same list.
by Sergey Tkachenko
Tue Apr 13, 2021 1:06 pm
Forum: RVMedia
Topic: camera settings
Replies: 2
Views: 1389

Re: camera settings

It is possible only for local cameras, or several IP-camera models (the IP-camera must be found by SearchCamera). The following properties are supported: Brightness, Contrast, Hue, Saturation, Sharpness . To check if the current camera supports the given property, and to get the range of its values,...
by Sergey Tkachenko
Sat Apr 10, 2021 8:29 am
Forum: RVMedia
Topic: ANN: RVMedia 8.0
Replies: 7
Views: 4393

Re: ANN: RVMedia 8.0

For sending video, you can use TRVCamera with DeviceType = rvdtUserData. Provide frames in OnNewImage event.
As for audio, you can send a wav file (TRVMicrophone SourceType = rvsstWAV, file is specified in WAVFileName property).
by Sergey Tkachenko
Fri Apr 09, 2021 7:29 am
Forum: RVMedia
Topic: ANN: RVMedia 8.0
Replies: 7
Views: 4393

Re: ANN: RVMedia 8.0

1. You can handle disconnects in OnDisconnect events of TRVCamReceiver/TRVCamSender, and in OnEndVideoStream event of TRVCamera. 2. Streaming is planned in future updates (there are 4 things that I plan to do next: streaming, reading sound from videos, ONVIF, FMX for Linux). 3. Sorry, Android is not...
by Sergey Tkachenko
Tue Apr 06, 2021 7:24 pm
Forum: RVMedia
Topic: camera DCS_8526LH
Replies: 1
Views: 1085

Re: camera DCS_8526LH

This camera will not be recognized as IP camera (it is not in our template list, and ONVIF is not supported yet). But video stream from this camera can be played, if you have FFmpeg or GStreamer available for the application. RVCamera1.URL := 'rtsp://user:[email protected].168.2.10:554/live/profile.0'; R...