Search found 7698 matches

by Sergey Tkachenko
Wed Jun 26, 2019 5:18 pm
Forum: ScaleRichView
Topic: Insert image from a copy and paste
Replies: 1
Views: 20

Re: Insert image from a copy and paste

There is no standard Clipboard format for Jpegs, so the copied image will be inserted as a bitmap. The only way to paste JPEG to RichViewEdit is copying a JPEG file (for example, from Explorer). Here is a function that pastes bitmap as JPEG: function PasteBitmapAsJpeg(rve: TCustomRichViewEdit): Bool...
by Sergey Tkachenko
Wed Jun 26, 2019 8:00 am
Forum: ScaleRichView
Topic: Searching text in datafield
Replies: 1
Views: 25

Re: Searching text in datafield

Sorry, no. If you have RVF field, you have the following options to search: 1) Create one more field, a plain text. When saving RVF field, save a copy of document as a plain text in another field. Then you can use SQL queries or other standard tools to search in this plain text. or 2) Load content o...
by Sergey Tkachenko
Thu Jun 20, 2019 8:48 am
Forum: Support
Topic: Deadlock with Synchronize in TRVWordEnumThread (XE6)
Replies: 16
Views: 15733

Re: Deadlock with Synchronize in TRVWordEnumThread (XE6)

Can you send me a call stack of the main process when the application freezes? (if you need instructions, let me know).
I am quite sure that TRichView code cannot lead to deadlocks by itself, but some third-party code that calls Synchronize probably may cause it.
by Sergey Tkachenko
Fri Jun 14, 2019 4:31 pm
Forum: Support
Topic: Undo of set editor background
Replies: 10
Views: 9404

Re: Undo of set editor background

My mistake, Edit.Change must be in ChangeBackgroundColor, not in DoChangeBackgroundColor. Also, I added CanChange check (it is especially important for TDBRichViewEdit). (Я ошибся, Edit.Change нужно добавить в ChangeBackgroundColor, а не в DoChangeBackgroundColor. Кроме того, следует добавить провер...
by Sergey Tkachenko
Fri Jun 14, 2019 11:32 am
Forum: Support
Topic: Undo of set editor background
Replies: 10
Views: 9404

Re: Undo of set editor background

Чтобы все было правильно, в конец DoChangeBackgroundColor нужно добавить Editor.Change. Как я писал выше, теперь рекомендованный способ поменять цвет фона с возможностью отмены это MyRichViewEdit.SetIntPropertyEd(rvipColor, ord(clYellow), True); Приведенный код может быть полезен только если вы хоти...
by Sergey Tkachenko
Thu Jun 13, 2019 8:41 pm
Forum: RVMedia
Topic: RVMedia 6 and RTSP - Network problems
Replies: 7
Views: 1351

Re: RVMedia 6 and RTSP - Network problems

RVMedia is very close to a release, at least as a public beta.
If we will not be able to release it till the end of this week, I'll send it to you by email.
by Sergey Tkachenko
Thu Jun 13, 2019 9:04 am
Forum: Support
Topic: Problem about paste image
Replies: 5
Views: 686

Re: Problem about paste image

If TRichView can read these images, they were saved differently.
Actually, it is not too difficult to read floating pictures as non-floating, may be it will be implemented before the complete implementation of floating images. However, at this time we have work with higher priority, sorry.
by Sergey Tkachenko
Wed Jun 12, 2019 6:46 pm
Forum: Support
Topic: Problem about paste image
Replies: 5
Views: 686

Re: Problem about paste image

After copying an image from dxRichEditControl, the only format available in the Clipboard is RTF. So this editor copies a document fragment containing the image as RTF, including its alignment option. Unfortunately, as I can see, dxRichEditControl supports only floating images, while our editor supp...
by Sergey Tkachenko
Mon Jun 10, 2019 12:54 pm
Forum: Support
Topic: Export pdf---the Chinese characters were garbled
Replies: 4
Views: 646

Re: Export pdf---the Chinese characters were garbled

As far as I know, Arial does not include Chinese characters. They are displayed in TRichView or browsers because of font substitution (when a character cannot be found in a font, it is displayed from some other font that has this character). Sorry, I do not know how font substitution for missing cha...
by Sergey Tkachenko
Fri Jun 07, 2019 8:23 am
Forum: Support
Topic: Away till June, 10
Replies: 0
Views: 347

Away till June, 10

I am out of office till June 10.
I'll answer to your questions when I return.
by Sergey Tkachenko
Thu Jun 06, 2019 11:38 am
Forum: Support
Topic: Export pdf---the Chinese characters were garbled
Replies: 4
Views: 646

Re: Export pdf---the Chinese characters were garbled

How are they displayed? As rectangles, or maybe completely wrong?
What font is used for Chinese text?
by Sergey Tkachenko
Thu Jun 06, 2019 11:36 am
Forum: Support
Topic: Table columns wrapping text
Replies: 2
Views: 472

Re: Table columns wrapping text

Is this the full window width? Maybe the table is narrower because it is fit to the window width?
Can you send me this document as RVF? To find out what is wrong, I need to know how table and column widths, cell paddings and cell spacings are defined.
by Sergey Tkachenko
Tue Jun 04, 2019 7:47 pm
Forum: Support
Topic: TFindDialog does not work via keyboard in Delphi Tokyo
Replies: 3
Views: 624

Re: TFindDialog does not work via keyboard in Delphi Tokyo

Ok, I understand now: if a VCL theme is applied (not necessary "Windows 10" theme, it happens in any theme), the find dialog does not have hotkeys. Yes, I can reproduce it. Unfortunately, this is out of my control (In future versions, we plan to use our own find and replace dialogs, but now we are u...
by Sergey Tkachenko
Tue Jun 04, 2019 12:03 pm
Forum: Support
Topic: TFindDialog does not work via keyboard in Delphi Tokyo
Replies: 3
Views: 624

Re: TFindDialog does not work via keyboard in Delphi Tokyo

I am sorry, I do not know why it happens :(
I cannot reproduce it.
RichViewActions use the standard TFindDialog component that should display the standard Windows find dialog, it cannot be controlled by RichViewActions.
by Sergey Tkachenko
Fri May 31, 2019 4:15 pm
Forum: Support
Topic: Integer -> NativeInt
Replies: 2
Views: 662

Re: Integer -> NativeInt

All these code fragments are compiled only if you activate $define RVOLDTAGS (so tags will be integer that could be converted to PChars). This mode is deprecated, and the code related to it will not be improved. It is only for compatibility with old projects, only for 32-bit. Please use string tags ...