OS: Debian 10 LXDE 64bit
Lazarus 2.0.12
FPC 3.2.2
sb: TTMSFNCStatusBar;
sb.Panels.Items[2].Text := test : <a href=http://www.test.com">www.test.com ;
sb.Panels.Items[2].Style := spsHTML;
how can i change the color with which the link is written
I have changed the syntax so that I can write that it is html text
Tunde
(Tünde Keller)
October 25, 2022, 2:32pm
2
Hi,
There is no separate setting for this, but you can try to implement the OnBeforeDrawPanel
event where you cat set the AGraphics.URLColor
to the color of your choice.
Tunde:
AGraphics.URLColor
This worked.
is there any possibility to add it to ......style (TTMSFNCStyle_FNC_Dark.style)
Tunde
(Tünde Keller)
October 26, 2022, 8:37am
6
For that we'll need to expose the URLColor as a setting at component level so it can be persisted.
We'll add this to our todo list for investigation.