Search found 9797 matches

by Sergey Tkachenko
Wed Dec 03, 2025 7:42 pm
Forum: Support
Topic: Nested Table
Replies: 15
Views: 224

Re: Nested Table

I do not understand the line
f (GetNestingLevel(memo)> 1) and (HasTable(rve.TopLevelEditor)) then itemno:= 4;
It assumes that the table is always the 4th item in a cell (counting from 0).
I think this line must be deleted.





Ich verstehe die Zeile nicht:
f (GetNestingLevel(memo)> 1) and ...
by Sergey Tkachenko
Wed Dec 03, 2025 12:53 pm
Forum: Support
Topic: Nested Table
Replies: 15
Views: 224

Re: Nested Table

If you delete all rows (or all columns) of the table, the resulting table will have 0 rows and 0 columns. It is by design.
To avoid this situation, check if the all rows/columns are deleted. If all of them, then, instead of deleting rows/columns, delete the whole table.
See the code in Editor 1 demo ...
by Sergey Tkachenko
Wed Dec 03, 2025 12:42 pm
Forum: Support
Topic: Developer Express AI-Powered Extensions for VCL
Replies: 3
Views: 49

Re: Developer Express AI-Powered Extensions for VCL

I've done some research and don't think DevExpress components are necessary for implementing an AI assistant in RichViewActions. I think it's more promising to use SmartCore components by Embarcadero for AI queries and implement the assistant myself. I'll work on this next year.
by Sergey Tkachenko
Wed Dec 03, 2025 9:23 am
Forum: ScaleRichView
Topic: ScaleRichView, ReportBuilder and printing headers/footers
Replies: 4
Views: 249537

Re: ScaleRichView, ReportBuilder and printing headers/footers

If you load a document with headers and footers in TSRichViewEdit, you can access headers and footers using SubDocuments[] property.
Also, you may wish to check properties of PageProperty : TitlePage, FacingPages.

Without ScaleRichView, it's more difficult. TRichView does not store headers and ...
by Sergey Tkachenko
Wed Dec 03, 2025 8:45 am
Forum: Support
Topic: Nested Table
Replies: 15
Views: 224

Re: Nested Table - Zeile einfügen


{
Tabellenzeile einfügen ---> geht in rve-Tabellen mit Ebene 1
Tabellenzeile löschen ----> habe ich hinbekommen (siehe weiter unten - nur 1 Code-Zeile)

Wie kann man die procedure tbZeiEinfgClick so ergänzen/ändern, dass sie auch auf nested tables (Ebene 2) macht?
}



The main problem in this ...
by Sergey Tkachenko
Wed Dec 03, 2025 8:27 am
Forum: Support
Topic: I would like to ask about a problem where I cannot change the font name and color of the content in a control under Laza
Replies: 9
Views: 153

Re: I would like to ask about a problem where I cannot change the font name and color of the content in a control under

What's your code in OnStyleConversion event?

PS: Format is not needed after editing methods like ApplyStyleConversion.
by Sergey Tkachenko
Wed Dec 03, 2025 8:20 am
Forum: Support
Topic: Developer Express AI-Powered Extensions for VCL
Replies: 3
Views: 49

Re: Developer Express AI-Powered Extensions for VCL

Yes, but not in very near future. Maybe in the next year.
I haven't looked at this component yet. But it seems easy to integrate on your own - take the selected text from the editor, and then insert the result.
by Sergey Tkachenko
Sat Nov 29, 2025 6:04 pm
Forum: Support
Topic: Nested Table
Replies: 15
Views: 224

Re: Nested Table

If the caret is in the cell -b-, and it is to the left of the right side of the nested table containing -c-, then GetCurrentItemEx will return:
- this nested table in rveTable
- editor of the cell -b- in rve.
This situation can be recognized by checking if rve = memo.TopLevelEditor.

If you just ...
by Sergey Tkachenko
Sat Nov 29, 2025 1:08 pm
Forum: Support
Topic: I would like to ask about a problem where I cannot change the font name and color of the content in a control under Laza
Replies: 9
Views: 153

Re: I would like to ask about a problem where I cannot change the font name and color of the content in a control under

It looks like Lazarus assigns string literals to UnicodeString incorrectly.

My suggestion for changing your code.

1) Change the type of Afontname of TTextColorPair to TFontName.
TTextColorPair = record
AText: TRVUnicodeString;
AColor: TColor;
Afontname: TFontName;
end;

2) Use Utf8Decode to ...
by Sergey Tkachenko
Sat Nov 29, 2025 10:09 am
Forum: Support
Topic: Nested Table
Replies: 15
Views: 224

Re: Nested Table

You can see two tabs below the message editor: "Options" and "Attachments".
Click the "Attachments" tab. Then clock "Add files" button and select images.
These images will be attached to the message. You have the option to insert them in text.

You can add an external image using [img]URL[/img ...
by Sergey Tkachenko
Fri Nov 28, 2025 7:38 pm
Forum: Support
Topic: Nested Table
Replies: 15
Views: 224

Re: Nested Table

GetCurrentItemEx returns rve and rveTable, where rve is the editor that contains rveTable.
If rveTable is a table directly in the memo (nesting level 1), the method returns rve = memo.
If the nesting level is 2, the method returns rve = memo.InplaceEditor, and so on.

There are two possible cases ...
by Sergey Tkachenko
Wed Nov 26, 2025 5:40 pm
Forum: Announcements
Topic: TRichView 24 - RAD Studio 13 Florence, chat, background
Replies: 6
Views: 53516

TRichView 24.0.3

TRichView 24.0.3 includes a new set of images for dialog boxes of RichViewActions and ScaleRichView

Users of RAD Studio 10.3 and later can choose the icon set used for selection buttons in dialog windows. By default, the old set of images is used, but by using the TRVAControlPanel. DialogIcons ...
by Sergey Tkachenko
Wed Nov 26, 2025 2:58 pm
Forum: Support
Topic: Google Material Symbols and Icons
Replies: 2
Views: 121

Re: Google Material Symbols and Icons

Currently, the sizes are hard-coded in RVAIcons.pas:
const
HugeIconSize = 96;
LargeIconSize = 48;
MediumIconSize = 32;
SmallIconSize = 24;

These sizes correspond to smallest image sizes available in the image collection.
You can change them to smaller values, but images will be created from ...