Search found 57 matches

by Vitalii
Fri Jun 03, 2022 12:17 pm
Forum: Support
Topic: Inserted item is not updated until you click the mouse
Replies: 6
Views: 4450

Re: Inserted item is not updated until you click the mouse

Of course, I format document (using Reformat method) after closing the editor. The problem is loss of focus; strange, but for some reason, it is not possible to programmatically set the focus using the SRV.SetFocus method. Focus returns only when I click the mouse and then SRV successfully finishes ...
by Vitalii
Fri Jun 03, 2022 8:46 am
Forum: Support
Topic: Inserted item is not updated until you click the mouse
Replies: 6
Views: 4450

Inserted item is not updated until you click the mouse

Hi, I create a new element (a descendant of TRVLabelItemInfo or TRVMathItemInfo) in a dialog box (call it "editor") and change the Text property. Then I insert the element into SRichView via InsertItem method. The element is added normally, but Text changes only happen when I click on SRic...
by Vitalii
Sat May 14, 2022 7:45 pm
Forum: Support
Topic: Text lines are wrapped on separate pages (Page Break Action)
Replies: 6
Views: 5141

Re: Text lines are wrapped on separate pages (Page Break Action)

Yes. I typed a long paragraph of text in a few lines. Then I set cursor to the start position and press the button with TrvActionInsertPageBreak. I do not perform any other (special) formatting actions (
by Vitalii
Sat May 14, 2022 3:36 pm
Forum: Support
Topic: Text lines are wrapped on separate pages (Page Break Action)
Replies: 6
Views: 5141

Text lines are wrapped on separate pages (Page Break Action)

Hi,
I have trouble with Page Break action. When I apply it, text lines are wrapped on each next page(s), see screenshot.
Strange, but there is no effect when I checked "Keep lines together" and "Keep with next".
I'm using Style Templates in SRichViewEdit.

Please help)
by Vitalii
Sun May 01, 2022 10:08 pm
Forum: Support
Topic: StyleTemplates for Header/Footer using [rvfoSaveStyleTemplatesOnlyNames] option
Replies: 3
Views: 3254

StyleTemplates for Header/Footer using [rvfoSaveStyleTemplatesOnlyNames] option

Greetings! Question about working with TSRichViewEdit and StyleTemplates. I use the [rvfoSaveStyleTemplatesOnlyNames] option and load the styles from a file. For the main editor (SRV.RichViewEdit), the styles are saved and loaded fine, but not for the Header/Footer. When I open a section for editing...
by Vitalii
Tue Feb 22, 2022 9:44 am
Forum: Support
Topic: How to disable "auto-scrolling" in TSRichViewEdit?
Replies: 3
Views: 3612

Re: How to disable "auto-scrolling" in TSRichViewEdit?

Can you give me step-by-step instructions how to reproduce this problem? Yes, it's very simple. There is a test program in the archive. What we need to do: 1) run the program 2) add equation 3) double-click on the equation, close the editor 4) move cursor down to the bottom (no clicks) 5) move curs...
by Vitalii
Mon Feb 21, 2022 2:38 pm
Forum: Support
Topic: How to disable "auto-scrolling" in TSRichViewEdit?
Replies: 3
Views: 3612

How to disable "auto-scrolling" in TSRichViewEdit?

Hi everyone! Is it possible to disable automatic scrolling in TSRichViewEdit? Scrolling starts automatically when, for example, I edit a math equation, then close the editor, and simply move the cursor up or down. If then I click in the editor (set focus), scrolling is stopped. I reviewed all topics...
by Vitalii
Wed Feb 02, 2022 12:42 pm
Forum: Support
Topic: Header/footer save the initial state of the Label
Replies: 4
Views: 3707

Re: Header/footer save the initial state of the Label

Hi Sergey,
thanks for your help! SRV.RVFooter.Change is a simple and quick solution.
by Vitalii
Mon Jan 31, 2022 5:38 pm
Forum: Support
Topic: Header/footer save the initial state of the Label
Replies: 4
Views: 3707

Re: Header/footer save the initial state of the Label

In both cases, I change Text property due to change additional "Script" property. The object load/save "Script" property using _ExtraCustomProperty mechanism. TRVScriptEquationItemInfo = class(TRVMathItemInfo) procedure TRVScriptEquationItemInfo.SetScript(const Value: string); be...
by Vitalii
Sun Jan 30, 2022 10:19 pm
Forum: Support
Topic: Header/footer save the initial state of the Label
Replies: 4
Views: 3707

Header/footer save the initial state of the Label

Hi, I have a question. I add a descendant of Label or Math equation to the header/footer (for example, the text "a=10"). After that, I programmatically change the object's text to "a=20", which displays correctly. But when I save the document and reopen it, the text reverts to it...
by Vitalii
Sun Nov 07, 2021 9:12 pm
Forum: Support
Topic: TSRichViewEdit.SelectAll method behavior
Replies: 2
Views: 5797

Re: TSRichViewEdit.SelectAll method behavior

Ok, thanks!
by Vitalii
Thu Oct 14, 2021 4:10 pm
Forum: Support
Topic: TSRichViewEdit.SelectAll method behavior
Replies: 2
Views: 5797

TSRichViewEdit.SelectAll method behavior

Hi,
I think that in the TSRichViewEdit.SelectAll method it is more logical to select the content of ActiveEditor instead of RichViewEdit. Because if you press CTRL+A while editing the header, then not the header is selected, but the main text.