You may need to add MOUSE to your USES section. Sergey may have a better answer but adding the declaration is easy to try.
Stab
Search found 274 matches
- Sat Jul 11, 2026 9:42 pm
- Forum: ScaleRichView
- Topic: ScaleRichView update and MouseWheel is dead
- Replies: 4
- Views: 396
- Sun Jul 05, 2026 6:35 pm
- Forum: Support
- Topic: Paste target wrong
- Replies: 7
- Views: 13312
- Tue May 05, 2026 3:23 pm
- Forum: Support
- Topic: Table Cell Style
- Replies: 2
- Views: 3368
Re: Table Cell Style
Can you give me some example code? I can't make any headway with it. I was trying to "spin through" the cells in the inserttable method but I can't get that to work.Sergey Tkachenko wrote: Tue May 05, 2026 9:15 am Sorry, table and cells styles are not implemented.
Use paragraph styles (StyleTemplates).
Stan
- Mon May 04, 2026 2:49 pm
- Forum: Support
- Topic: Table Cell Style
- Replies: 2
- Views: 3368
Table Cell Style
Hi Sergey,
Before I implemented styles in my rve app, if I inserted a table the cells would take on the font the rve was using. But after setting the rve to use styles, when I insert a table the cells use a defualt font. It looks like I need to set each cell to use my normal style. I have been ...
Before I implemented styles in my rve app, if I inserted a table the cells would take on the font the rve was using. But after setting the rve to use styles, when I insert a table the cells use a defualt font. It looks like I need to set each cell to use my normal style. I have been ...
- Sun May 03, 2026 1:43 pm
- Forum: Support
- Topic: Issue with Copying Images from RichView (RVF)
- Replies: 10
- Views: 9756
Re: Issue with Copying Images from RichView (RVF)
Sergey,
Yes, that worked.
Thanks
Stan
Yes, that worked.
Thanks
Stan
- Sat May 02, 2026 2:55 pm
- Forum: Support
- Topic: Issue with Copying Images from RichView (RVF)
- Replies: 10
- Views: 9756
Re: Issue with Copying Images from RichView (RVF)
Hi Sergey,
The image copys are working but I'm getting a memory leak with SVG. I've used both CopyDef or CopyImage and get the same result. When running in my delphi 10.3 ide, I get a "cannot assign a TSkSvgGraphic to a TBitmap" error dialog:
Image7.png
And in madexcept, I get the following ...
The image copys are working but I'm getting a memory leak with SVG. I've used both CopyDef or CopyImage and get the same result. When running in my delphi 10.3 ide, I get a "cannot assign a TSkSvgGraphic to a TBitmap" error dialog:
Image7.png
And in madexcept, I get the following ...
- Sat Apr 25, 2026 2:45 pm
- Forum: Support
- Topic: Issue with Copying Images from RichView (RVF)
- Replies: 10
- Views: 9756
Re: Issue with Copying Images from RichView (RVF)
Sergey, thanks for the simpler code. I found I had to do the following to handle svg images:
if gr.ClassName.tolower <> 'tsksvggraphic' then
begin
Clipboard.Assign(gr);
end
else
if not rv.CopyDef then //handle possible svg
begin
ShowMessage('Unable to copy data.');
end;
Is there a better ...
if gr.ClassName.tolower <> 'tsksvggraphic' then
begin
Clipboard.Assign(gr);
end
else
if not rv.CopyDef then //handle possible svg
begin
ShowMessage('Unable to copy data.');
end;
Is there a better ...
- Thu Apr 23, 2026 2:12 pm
- Forum: Support
- Topic: Issue with Copying Images from RichView (RVF)
- Replies: 10
- Views: 9756
Re: Issue with Copying Images from RichView (RVF)
My guess is this may be by design. You can put something like this in your copy code or action. It's what I use:
var
gr: TGraphic;
ATag: TRVTag;
RVAlign: TRVVAlign;
s: TRVUnicodeString;
AData: THandle;
APalette: HPALETTE;
begin
if (rv.GetSelectedImage <> nil) then
begin
rv ...
var
gr: TGraphic;
ATag: TRVTag;
RVAlign: TRVVAlign;
s: TRVUnicodeString;
AData: THandle;
APalette: HPALETTE;
begin
if (rv.GetSelectedImage <> nil) then
begin
rv ...
- Fri Mar 20, 2026 1:33 pm
- Forum: Support
- Topic: RvFontCombobox behavior with multiple fonts
- Replies: 7
- Views: 5514
Re: RvFontCombobox behavior with multiple fonts
I used this code to do something like that:
var
fi, fi2: TFontInfo;
i, FStart, FSOff, FEnd, FEoff: integer;
rv: TCustomRichViewEdit;
...
rv.GetSelectionBounds(FStart, FSOff, FEnd, FEoff, true);
fi := rv.Style.TextStyles[rv.GetItemStyle(FStart)];
for i := FStart to FEnd do
begin
fi2 ...
var
fi, fi2: TFontInfo;
i, FStart, FSOff, FEnd, FEoff: integer;
rv: TCustomRichViewEdit;
...
rv.GetSelectionBounds(FStart, FSOff, FEnd, FEoff, true);
fi := rv.Style.TextStyles[rv.GetItemStyle(FStart)];
for i := FStart to FEnd do
begin
fi2 ...
- Sat Jan 31, 2026 5:55 pm
- Forum: Support
- Topic: Setting a Style
- Replies: 4
- Views: 16282
Re: Setting a Style
Sergey,
Yes, you were right this was working when I tried it in my small test app. What I wound up using in my main app was a TRVStyle not linked to any TRichView. That worked the way I wanted it to work.
Thanks
Stan
Yes, you were right this was working when I tried it in my small test app. What I wound up using in my main app was a TRVStyle not linked to any TRichView. That worked the way I wanted it to work.
Thanks
Stan
- Wed Jan 28, 2026 1:50 pm
- Forum: Support
- Topic: Setting a Style
- Replies: 4
- Views: 16282
Re: Setting a Style
The best solution is style modification. If you want the default font "Georgia", specify it in the "Normal" styletemplate. In ActionTest demo, use the menu "Format | Styles", select "Normal (standard)", click the link "Edit" in the font section, and select "Georgia".
OK, is there a way to set ...
- Tue Jan 27, 2026 7:39 pm
- Forum: Support
- Topic: Setting a Style
- Replies: 4
- Views: 16282
Setting a Style
Sergey,
Sorry, another styles question!
Say I paste some text in my rve, and it has the Georgia font. If I select the whole paragraph and then use the style combo to set a style, it sets the selcted style and keeps the Georgia font. That's what I want.
But if I select one word and then use the ...
Sorry, another styles question!
Say I paste some text in my rve, and it has the Georgia font. If I select the whole paragraph and then use the style combo to set a style, it sets the selcted style and keeps the Georgia font. That's what I want.
But if I select one word and then use the ...
- Mon Jan 26, 2026 7:14 pm
- Forum: Support
- Topic: Hyperlink Underline Color
- Replies: 6
- Views: 17930
Re: Hyperlink Underline Color
ValidTextPropertiesEditor was developed only for design-time support...It makes no sense to use ValidTextPropertiesEditor at runtime.
Yes, that explains what I was seeing, thanks.
You can see that it works in "Format | Styles" command.
Yes, I did something similar in my small test app and had ...
Yes, that explains what I was seeing, thanks.
You can see that it works in "Format | Styles" command.
Yes, I did something similar in my small test app and had ...
- Mon Jan 26, 2026 6:24 pm
- Forum: Support
- Topic: Hyperlink Underline Color
- Replies: 6
- Views: 17930
Re: Hyperlink Underline Color
OK, looks like changing the RVEFilervActionNew1 rvfiUnderlineColor setting in the design time ValidTextPropertiesEditor properties in my main app lets the underline color work.
Stan
Stan
- Mon Jan 26, 2026 6:21 pm
- Forum: Support
- Topic: Reset StyleTemplates
- Replies: 2
- Views: 11558
Re: Reset StyleTemplates
OK, I'll try that.
Thanks Sergey
Stan
Thanks Sergey
Stan