Scalerichview Hyperlink Underlinecolor black

General TRichView support forum. Please post your questions here
Post Reply
tomr
Posts: 54
Joined: Wed Dec 09, 2020 9:36 am

Scalerichview Hyperlink Underlinecolor black

Post by tomr »

Hello RichView Support,

I have the following issue:
I load text from a RichViewEdit into a ScaleRichViewEdit.
The text contains a hyperlink.

In the RichViewEdit, the hyperlink is displayed correctly — both the text and underline are blue.
Hyperlink Underlinecolor Blue.png
Hyperlink Underlinecolor Blue.png (4.2 KiB) Viewed 44279 times
However, in the ScaleRichViewEdit, the underline color is black.
Hyperlink Underlinecolor Black.png
Hyperlink Underlinecolor Black.png (18.16 KiB) Viewed 44281 times
I am using the same style templates for both editors.
Is there a setting that I might be missing?

I appreciate your help!

Best regards,
Tom
Sergey Tkachenko
Site Admin
Posts: 18099
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Scalerichview Hyperlink Underlinecolor black

Post by Sergey Tkachenko »

Please send me a file that you load in ScaleRichView to email richviewgmailcom
tomr
Posts: 54
Joined: Wed Dec 09, 2020 9:36 am

Re: Scalerichview Hyperlink Underlinecolor black

Post by tomr »

Hi Sergey,
Everything looks fine when using the RVF.
If I load my extracted RVF into the ScaleRichView “Action Test Demo”, the document loads correctly and the hyperlink is displayed entirely in blue.

So I think the issue must be related to a setting in my own ScaleRichView or the connected RichEdit.
Do you have any suggestions?

Best regards
Tom
Sergey Tkachenko
Site Admin
Posts: 18099
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Scalerichview Hyperlink Underlinecolor black

Post by Sergey Tkachenko »

Check, maybe for some reason this link has black underline color specified.
1) Format | Style Inspector. But it shows only character attributes applied on top of styles (StyleTemplates).
2) Font dialog (color in "underline" section)
tomr
Posts: 54
Joined: Wed Dec 09, 2020 9:36 am

Re: Scalerichview Hyperlink Underlinecolor black

Post by tomr »

Hi Sergey,
I checked the underline color in both the font settings and the hyperlink editor. In both dialogs, the color is set to automatic.
Hyperlinkdialog LinkColor.png
Hyperlinkdialog LinkColor.png (31.81 KiB) Viewed 16 times
Fontdialog Underline Color.png
Fontdialog Underline Color.png (39.06 KiB) Viewed 16 times
tomr
Posts: 54
Joined: Wed Dec 09, 2020 9:36 am

Re: Scalerichview Hyperlink Underlinecolor black

Post by tomr »

Hi Sergey,
I was able to reproduce the issue in your ScaleRichView demo (ScaleRichView ActionTest).

To do this, open the DFM part of the ScaleRichView demo. Open the project in Delphi and press Alt + F12, then search for the RichEdit component.
Demo DFM Enter.png
Demo DFM Enter.png (11.62 KiB) Viewed 11 times
Add the following lines:


PageProperty.CaretPen.Mode = pmBlack
PageProperty.BorderPen.Color = clWhite
PageProperty.BorderPen.Mode = pmNot
PageProperty.BorderPen.Style = psClear

Then press Alt + F12 again and run the demo.

When you type an email address, the link underline color appears black.
LineColorBlack.png
LineColorBlack.png (2.08 KiB) Viewed 11 times
I’m not sure if this is the intended behavior, but I wanted to let you know.
Hope this helps.
Post Reply