Search found 9380 matches

by Sergey Tkachenko
Sun Mar 17, 2024 7:22 pm
Forum: Examples, Demos
Topic: [Demo] Editors in editors
Replies: 11
Views: 37860

Re: [Demo] Editors in editors

Can you send me a sample project, as simple as possible?
by Sergey Tkachenko
Sun Mar 17, 2024 7:21 pm
Forum: Support
Topic: Best way to handle using TRichView
Replies: 5
Views: 12055

Re: Best way to handle using TRichView

Unfortunately, tables cannot be placed side by side. Planned for future versions.
by Sergey Tkachenko
Sun Mar 17, 2024 7:20 pm
Forum: Support
Topic: Make the caret visible
Replies: 3
Views: 276

Re: Make the caret visible

1. Make sure that the editor is formatted. Call rve.Format; (this method moves the caret to the end of the document, so MoveCaret is redundant).
2. Probably the editor is not focused. Call rve.SetFocus.
by Sergey Tkachenko
Sat Mar 16, 2024 6:40 pm
Forum: Examples, Demos
Topic: [Demo] Editors in editors
Replies: 11
Views: 37860

Re: [Demo] Editors in editors

1. As for rv.RVData.DocumentWidth, try assigning rv.WordWrap = False. 2. As for efficiency. Do you need to add all this content by one function call, or do you add/delete subeditors one by one? The most efficient method is adding all content (using AddControlEx method), and then call rv.Format only ...
by Sergey Tkachenko
Wed Mar 13, 2024 8:50 pm
Forum: Support
Topic: HunSpell
Replies: 1
Views: 719

Re: HunSpell

Do you call RVHunSpell.Check() yourself? If you assigned RVHunSpell to RVAHunSpellInterface.HunSpell, you should not call RVHunSpell.Check() (because it will attempt to localize a spell-checking dialog and will fail). Instead, use TrvActionSpellCheck action. This action assigns RVAHunSpellInterface....
by Sergey Tkachenko
Tue Mar 12, 2024 3:56 pm
Forum: RVMedia
Topic: Doesn't capture video stream
Replies: 2
Views: 805

Re: Doesn't capture video stream

Do you use the full version or the trial version?
If the full version, can you check if the function TRVWebCam.SampleCB (MRVWinWebCamera.pas) is called?
by Sergey Tkachenko
Tue Mar 12, 2024 3:53 pm
Forum: Support
Topic: Problem with image sizes
Replies: 1
Views: 768

Re: Problem with image sizes

TRichView for FireMonkey saves images with default parameters. For WebP, when parameters are not specified, Skia4Delphi chooses maximum image quality, so images are saved lossless (or almost lossless), resulting large files. In the next update, I'll add a new global variable RVDefaultImageSavingQual...
by Sergey Tkachenko
Mon Mar 11, 2024 9:24 am
Forum: Support
Topic: How to convert old data from TRichEdit to TRichView
Replies: 10
Views: 1082

Re: How to convert old data from TRichEdit to TRichView

The file that you sent to me previously as a sample field content was in RVF format (RichView Format). In this format, collections of text and paragraph styles are saved, so you had 3 options: - using styles from the document - ignore styles from document and use styles from the application - map st...
by Sergey Tkachenko
Sat Mar 09, 2024 3:00 pm
Forum: Support
Topic: Plain Text Bullets on Copy
Replies: 21
Views: 241235

Re: Plain Text Bullets on Copy

To avoid saving markers in selection (or in the result of SaveText with TextOnly = True), change the function TRVMarkerItemInfo.GetBoolValue in RVMarker.pas. It must return False for rvbpAlwaysInText. In the next update, I'll modify it as function TRVMarkerItemInfo.GetBoolValue(Prop: TRVItemBoolProp...
by Sergey Tkachenko
Fri Mar 08, 2024 5:13 pm
Forum: Examples, Demos
Topic: How to print the content of a RichViewEdit ?
Replies: 4
Views: 705

Re: How to print the content of a RichViewEdit ?

If you transfer document from TRichViewEdit to TJvRichEdit, you lose all formatting and objects unsupported by TJvRichEdit.

As I said, you need only 3 lines of code to print TRichViewEdit:

Code: Select all

RVPrint1.AssignSource(RichViewEdit1);
RVPrint1.FormatPages(rvdoAll);
RVPrint1.Print('My document', 1, False);
by Sergey Tkachenko
Fri Mar 08, 2024 12:14 pm
Forum: Examples, Demos
Topic: How to print the content of a RichViewEdit ?
Replies: 4
Views: 705

Re: How to print the content of a RichViewEdit ?

1. Use the global Printer object from Printers unit to choose the current printer and define page format. (See the last code sample here how to set page size). 2. Place TRVPrint component on form. Define margins and additional page settings in properties of this component. 3. Code for printing: RVPr...
by Sergey Tkachenko
Thu Mar 07, 2024 10:09 am
Forum: Support
Topic: How to convert old data from TRichEdit to TRichView
Replies: 10
Views: 1082

Re: How to convert old data from TRichEdit to TRichView

I attached the demo. It can: 1. Load your file with default settings (using styles from file) 2. Load your file using styles created in the application (ignoring styles from file) 3. Convert card suit characters to Unicode. PS: I have no problems loading your file using LoadRVF. But if I change Load...
by Sergey Tkachenko
Thu Mar 07, 2024 9:23 am
Forum: Support
Topic: How to convert old data from TRichEdit to TRichView
Replies: 10
Views: 1082

Re: How to convert old data from TRichEdit to TRichView

But your document has RVF format. This means that LoadFromStream, after detecting RVF, calls LoadRVFromStream to load it. As I said, this RVF document contains styles, and your styles will be ignored and replaced by styles from the file. Please wait, I'll try to make a demo. Back to characters, I st...
by Sergey Tkachenko
Thu Mar 07, 2024 8:40 am
Forum: Support
Topic: How to convert old data from TRichEdit to TRichView
Replies: 10
Views: 1082

Re: How to convert old data from TRichEdit to TRichView

About characters from "Symbol" font Fonts having Charset = SYMBOL_CHARSET (including "Symbol" font) are special fonts. In all other fonts, each character code has special meaning, described in Unicode standard. Because of this, when you apply a non-symbol font to text of another...
by Sergey Tkachenko
Thu Mar 07, 2024 8:28 am
Forum: Support
Topic: How to convert old data from TRichEdit to TRichView
Replies: 10
Views: 1082

Re: How to convert old data from TRichEdit to TRichView

About styles and loading I received your file. This is a document in RVF format. And it contains all styles inside it. With the default property settings, all styles that you added before loading will be removed, and styles from RVF are used. There are some things that you can try. For example, you...