Hi Sergey,
Is there a way to reset styletemplates to the usual defaults plus whatever is currently in use in my application? Sometimes I'll paste in some HTML text by mistake (I wanted to paste plain text). When I do that I wind up with a bunch of HTML styles that I don't need. I'd like to be able ...
Search found 257 matches
- Sat Jan 24, 2026 4:57 pm
- Forum: Support
- Topic: Reset StyleTemplates
- Replies: 0
- Views: 5
- Sat Jan 24, 2026 3:44 pm
- Forum: Support
- Topic: Hyperlink Underline Color
- Replies: 1
- Views: 43
Re: Hyperlink Underline Color
For now, I put the code below into the RVStyle1ApplyStyle procedure:
//Overrides hyperlink styletemplate:
for i := 1 to rve.Style.TextStyles.Count-1 do
begin
if rve.Style.TextStyles[i].Jump then
begin
//rve.Style.TextStyles[i].FontName := rve.Style.TextStyles[0].FontName;
//rve.Style ...
//Overrides hyperlink styletemplate:
for i := 1 to rve.Style.TextStyles.Count-1 do
begin
if rve.Style.TextStyles[i].Jump then
begin
//rve.Style.TextStyles[i].FontName := rve.Style.TextStyles[0].FontName;
//rve.Style ...
- Wed Jan 21, 2026 10:10 pm
- Forum: Support
- Topic: Hyperlink Underline Color
- Replies: 1
- Views: 43
Hyperlink Underline Color
Sergey,
Using styletemplates, I was able to get the hyperlink text color to change using this:
i := RVEFilervActionNew1.StyleTemplates.FindByName(RVHYPERLINKSTYLETEMPLATENAME);
RVEFilervActionNew1.StyleTemplates[i].ValidTextPropertiesEditor :=
'[rvfiUnderline,rvfiColor,rvfiJump ...
Using styletemplates, I was able to get the hyperlink text color to change using this:
i := RVEFilervActionNew1.StyleTemplates.FindByName(RVHYPERLINKSTYLETEMPLATENAME);
RVEFilervActionNew1.StyleTemplates[i].ValidTextPropertiesEditor :=
'[rvfiUnderline,rvfiColor,rvfiJump ...
- Fri Jan 09, 2026 12:16 pm
- Forum: Support
- Topic: TRVFontComboBox and Modified
- Replies: 6
- Views: 598
Re: TRVFontComboBox and Modified
Hi Sergey,
Yeah, after messing with my regular combobox code some more I see what you mean with this. It's much more tricky than I thought if you want to keep the modified from firing and to keep auto complete functionality which is useful for the font name combo. I have it working fairly well with ...
Yeah, after messing with my regular combobox code some more I see what you mean with this. It's much more tricky than I thought if you want to keep the modified from firing and to keep auto complete functionality which is useful for the font name combo. I have it working fairly well with ...
- Thu Jan 08, 2026 6:35 pm
- Forum: Support
- Topic: TRVFontComboBox and Modified
- Replies: 6
- Views: 598
Re: TRVFontComboBox and Modified
The problem is in ApplyStyleConversion, not in the combobox. It calls OnChange even if nothing was changed. This problem is noticeable in TRVFontComboBox because it applies itself when losing focus.
Hi Sergey,
In my regular VCL combobox, ApplyStyleConversion works in the combo OnClick without ...
- Thu Jan 08, 2026 12:52 pm
- Forum: Support
- Topic: TRVFontComboBox and Modified
- Replies: 6
- Views: 598
Re: TRVFontComboBox and Modified
Hi Sergey,
Oh I agree, it's going to be tricky since you have to support it as a component. I'm using a regular combobox again for now. I just used the click method to do an ApplyStyleConversion.
I don't use an action with it to keep it simple. Getting that and my regular combobox for font size ...
Oh I agree, it's going to be tricky since you have to support it as a component. I'm using a regular combobox again for now. I just used the click method to do an ApplyStyleConversion.
I don't use an action with it to keep it simple. Getting that and my regular combobox for font size ...
- Wed Jan 07, 2026 8:57 pm
- Forum: Support
- Topic: TRVFontComboBox and Modified
- Replies: 6
- Views: 598
TRVFontComboBox and Modified
Hi Sergey,
I'm trying to use a TRVFontComboBox and it keeps setting the rve modified flag even when I don't change the font. If I click in it and then out of it, it sets modified. If I drop it down and don't select a new font name it still sets my rve modified.
Is there a way to change that ...
I'm trying to use a TRVFontComboBox and it keeps setting the rve modified flag even when I don't change the font. If I click in it and then out of it, it sets modified. If I drop it down and don't select a new font name it still sets my rve modified.
Is there a way to change that ...
- Sat Jan 03, 2026 7:23 pm
- Forum: Support
- Topic: Coordinates of the object on the page, if it is in the table
- Replies: 3
- Views: 445
Re: Coordinates of the object on the page, if it is in the table
I don't use the SRVE, but maybe you have to reference the TopLevelEditor? I have to do that with the regular rve to handle table stuff, e.g., rve.TopLevelEditor...
Stan
Stan
- Wed Nov 26, 2025 3:06 pm
- Forum: Support
- Topic: Google Material Symbols and Icons
- Replies: 2
- Views: 3423
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 ...
- Wed Nov 26, 2025 2:28 pm
- Forum: Support
- Topic: Google Material Symbols and Icons
- Replies: 2
- Views: 3423
Google Material Symbols and Icons
Hi Sergey,
I tried the Google Material Symbols and Icons in my rv actions, I like them but they display a bit bigger than I'd like with a default dialog. Is there any way to set the size of those icons?
Thanks Sergey
Stan
I tried the Google Material Symbols and Icons in my rv actions, I like them but they display a bit bigger than I'd like with a default dialog. Is there any way to set the size of those icons?
Thanks Sergey
Stan
- Sun Sep 14, 2025 5:22 pm
- Forum: Support
- Topic: DefaultMargin
- Replies: 7
- Views: 89826
Re: DefaultMargin
Great, that sounds likt it should work. Thanks Sergey
Stan
Stan
- Sat Sep 06, 2025 12:58 pm
- Forum: Support
- Topic: DefaultMargin
- Replies: 7
- Views: 89826
Re: DefaultMargin
Well, while painting line numbers in the rve directly looked good and was easiest to do, changing the rve left margin was just too squirrely. I went with a panel that I subclassed to expose its canvas and added an onpaint method. This worked as well.
Stan
Stan
- Fri Sep 05, 2025 7:28 pm
- Forum: Support
- Topic: DefaultMargin
- Replies: 7
- Views: 89826
Re: DefaultMargin
If you want to override default settings of RVAControlPanel, make your changes in rvActionNew.OnNew event.
Sergey, yes, that worked. I'm working on switching my line number code from a component to code that paints directly to the rve canvas (I had to widen the leftmargin to do it). I've got it ...
- Thu Sep 04, 2025 8:59 am
- Forum: Support
- Topic: DefaultMargin
- Replies: 7
- Views: 89826
Re: DefaultMargin
Thanks Sergey, I'll try that.
Stan
Stan
- Wed Sep 03, 2025 9:58 pm
- Forum: Support
- Topic: DefaultMargin
- Replies: 7
- Views: 89826
Re: DefaultMargin
Sergey,
Looks like it's not the presence controlpanel. I put one in my small test app and it was fine. In my "real" app there's a lot of code and I had to fine the right place to put rve.LeftMargin := 85 and it's OK.
Just FYI.
Stan
Looks like it's not the presence controlpanel. I put one in my small test app and it was fine. In my "real" app there's a lot of code and I had to fine the right place to put rve.LeftMargin := 85 and it's OK.
Just FYI.
Stan