Search found 265 matches

by standay
Sat Jan 31, 2026 5:55 pm
Forum: Support
Topic: Setting a Style
Replies: 4
Views: 4882

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
by standay
Wed Jan 28, 2026 1:50 pm
Forum: Support
Topic: Setting a Style
Replies: 4
Views: 4882

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 ...
by standay
Tue Jan 27, 2026 7:39 pm
Forum: Support
Topic: Setting a Style
Replies: 4
Views: 4882

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 ...
by standay
Mon Jan 26, 2026 7:14 pm
Forum: Support
Topic: Hyperlink Underline Color
Replies: 6
Views: 4746

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 ...
by standay
Mon Jan 26, 2026 6:24 pm
Forum: Support
Topic: Hyperlink Underline Color
Replies: 6
Views: 4746

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
by standay
Mon Jan 26, 2026 6:21 pm
Forum: Support
Topic: Reset StyleTemplates
Replies: 2
Views: 3158

Re: Reset StyleTemplates

OK, I'll try that.

Thanks Sergey

Stan
by standay
Mon Jan 26, 2026 5:24 pm
Forum: Support
Topic: Hyperlink Underline Color
Replies: 6
Views: 4746

Re: Hyperlink Underline Color

Just trying to get the underline color to change when I paste in a hyper link.

I made a small test program and if I change the rvfiUnderlineColor to true in the component properties of my small test app, the color changes as expected. If I don't change rvfiUnderlineColor in the properties and try ...
by standay
Sun Jan 25, 2026 9:22 pm
Forum: Support
Topic: Horizontal Line and Style
Replies: 1
Views: 3748

Horizontal Line and Style

Hi Sergey,

When I insert a break (horizontal line) I have to add an ApplyStyleTemplate(0) call after every InsertBreak call to keep the correct style name in the styles combo (otherwise it's blank when it should say "Normal"). It does this if I use the HLine rv action as well.

But, the ...
by standay
Sat Jan 24, 2026 4:57 pm
Forum: Support
Topic: Reset StyleTemplates
Replies: 2
Views: 3158

Reset StyleTemplates

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 ...
by standay
Sat Jan 24, 2026 3:44 pm
Forum: Support
Topic: Hyperlink Underline Color
Replies: 6
Views: 4746

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 ...
by standay
Wed Jan 21, 2026 10:10 pm
Forum: Support
Topic: Hyperlink Underline Color
Replies: 6
Views: 4746

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 ...
by standay
Fri Jan 09, 2026 12:16 pm
Forum: Support
Topic: TRVFontComboBox and Modified
Replies: 7
Views: 10716

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 ...
by standay
Thu Jan 08, 2026 6:35 pm
Forum: Support
Topic: TRVFontComboBox and Modified
Replies: 7
Views: 10716

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 ...
by standay
Thu Jan 08, 2026 12:52 pm
Forum: Support
Topic: TRVFontComboBox and Modified
Replies: 7
Views: 10716

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 ...
by standay
Wed Jan 07, 2026 8:57 pm
Forum: Support
Topic: TRVFontComboBox and Modified
Replies: 7
Views: 10716

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 ...