Search found 7714 matches

by Sergey Tkachenko
Sun Jul 21, 2019 5:53 am
Forum: ScaleRichView
Topic: The mouse scroll button does not work
Replies: 4
Views: 95

Re: The mouse scroll button does not work

Please send me a sample ActiveX project (as simple as possible) to reproduce the problem.
by Sergey Tkachenko
Fri Jul 19, 2019 10:51 am
Forum: ScaleRichView
Topic: The mouse scroll button does not work
Replies: 4
Views: 95

Re: The mouse scroll button does not work

I think the scrolling does not work because a browser does not pass scrolling events to activex, and I do not know how to fix it. As for the caret, probably this is the same issue as in this topic: https://www.trichview.com/forums/viewtopic.php?f=12&t=9402 It contains a suggestion how to fix it. Thi...
by Sergey Tkachenko
Fri Jul 19, 2019 9:22 am
Forum: RVMedia
Topic: RVmedia adn ONVIF Standard
Replies: 3
Views: 5997

Re: RVmedia adn ONVIF Standard

Sorry, plans were reconsidered. FireMonkey has higher priority.
by Sergey Tkachenko
Thu Jul 18, 2019 7:40 am
Forum: RVMedia
Topic: RVMedia 6 and RTSP - Authentication problems
Replies: 1
Views: 100

Re: RVMedia 6 and RTSP - Authentication problems

Even if we implement digest authentication in RVMedia code, we will be able to play only MJPEG by HTTP. RTSP and H.264 require FFmpeg or GStreamer (some time ago we started implementation of MJPEG by RTSP, but abandoned it).
by Sergey Tkachenko
Tue Jul 09, 2019 11:40 am
Forum: Support
Topic: User can not select Chinese text precisely by mouse
Replies: 1
Views: 246

Re: User can not select Chinese text precisely by mouse

You can disable word selection completely by assigning rvsmChar to RVStyle.SelectionMode. Unfortunately, you cannot disable it for Chinese text but enable for English text. But even with word selection, it is possible to select precisely: if you shrink the selection (while selecting, move the mouse ...
by Sergey Tkachenko
Mon Jul 08, 2019 7:58 pm
Forum: Examples, Demos
Topic: [Demo] DB Editor
Replies: 7
Views: 39991

Re: [Demo] DB Editor

I added ADO+Access version of this demo. As I said above, the main difficulty was storing binary RVF data in a text (memo) field. I used the simplest possible binary-to-text encoding - hexadecimal code. It is simple and fast, but increases data size by 100%. A better alternative would be Base64 enco...
by Sergey Tkachenko
Mon Jul 08, 2019 10:46 am
Forum: Examples, Demos
Topic: [Demo] Dual editor for translators
Replies: 10
Views: 25608

Re: [Demo] Dual editor for translators

Nostradamus, this project was created in the old version of TRichView. The only required change to make it work in the new version of TRichView, is removing type-casting to Word in all calls of IsDelimiterW. For example, change rve.RVData.IsDelimiterW(Word(ws[Offs])) to rve.RVData.IsDelimiterW(ws[Of...
by Sergey Tkachenko
Sun Jul 07, 2019 6:24 pm
Forum: Examples, Demos
Topic: [Demo] DB Editor
Replies: 7
Views: 39991

Re: [Demo] DB Editor

I'll try to make an example in the next couple of days. The main problem with MS Access, as far as I understand, the lack of field type for storing arbitrary binary data (required for RVF). Unfortunately, even "text mode" RVF is not really a plain text and requires a binary field. Well, there is a s...
by Sergey Tkachenko
Sun Jul 07, 2019 5:04 pm
Forum: ScaleRichView
Topic: Insert Background image in Tables via code
Replies: 3
Views: 425

Re: Insert Background image in Tables via code

If you want to change a cell background image, the code is similar. A direct assignment (cannot be undone): Table.Cells[0, 0].BackgroundImage := gr; Table.Cells[0, 0].BackgroundStyle := rvbsTiled; If you want to change as an editing operation (that can be undone), use SetCellBackgroundImage and SetC...
by Sergey Tkachenko
Sun Jul 07, 2019 4:58 pm
Forum: ScaleRichView
Topic: Insert Background image in Tables via code
Replies: 3
Views: 425

Re: Insert Background image in Tables via code

If you have a Table object, you can simply assign BackgroundImage property: Table.BackgroundImage := gr; This code copies an image from gr, you still need to free gr. However, if Table.BackgroundStyle = rvbsColor, this image will not be displayed. You need to assign rvbsStretched, rvbsTiled, or rvbs...
by Sergey Tkachenko
Sat Jul 06, 2019 8:05 am
Forum: Examples, Demos
Topic: [Demos] Expanding-collapsing
Replies: 12
Views: 58058

Re: [Demos] Expanding-collapsing

I suggest to place collapsible text in a table, and implement a link that hide/show a table (by assigning rvepHidden item property to 1 or 0). A similar feature is implemented in Help&Manual that uses TRichViewEdit as a topic editor. Here are examples of collapsible tables: https://www.trichview.com...
by Sergey Tkachenko
Sat Jul 06, 2019 7:58 am
Forum: Support
Topic: How to change spell check dictionary "on-the-fly" without changing UI language?
Replies: 2
Views: 473

Re: How to change spell check dictionary "on-the-fly" without changing UI language?

UI language does not affect spelling.
You can see the demos in ThirdParty\ASpell\Demos\
They change spelling language with this code:

Code: Select all

  RichViewEdit1.ClearLiveSpellingResults;
  RVASpell1.DictIndex := ComboBox1.ItemIndex;
  RichViewEdit1.StartLiveSpelling;
by Sergey Tkachenko
Fri Jul 05, 2019 1:45 pm
Forum: Examples, Demos
Topic: [Demos] Expanding-collapsing
Replies: 12
Views: 58058

Re: [Demos] Expanding-collapsing

jonjon wrote:
Fri Jul 05, 2019 1:39 pm
Can this be done in a TRichViewEdit by the end-user ? If so, how should it be done ?
Thanks.
Sorry, I do not understand the question. "Can be done" what?
by Sergey Tkachenko
Tue Jul 02, 2019 8:50 am
Forum: RVMedia
Topic: AV on MRVTypesThreads.GetGUIDInfoWithCreate
Replies: 1
Views: 278

Re: AV on MRVTypesThreads.GetGUIDInfoWithCreate

You are right, this check must be added.
by Sergey Tkachenko
Tue Jul 02, 2019 8:49 am
Forum: RVMedia
Topic: AV on TRVMFFMPEG.InitDecode
Replies: 2
Views: 496

Re: AV on TRVMFFMPEG.InitDecode

This is a bug. This code must be:

Code: Select all

    try
      // Open video file
      if not OpenFile(FormatContext, DecCurTime, filename) then
      begin
          FormatContext := nil;
          exit;
      end;
    except
      exit;
    end;