Jump to content


Photo

Html column url color


  • Please log in to reply
2 replies to this topic

#1 mddmx

mddmx
  • Members
  • 6 posts

Posted 27 February 2020 - 02:24 AM

Anyone with an example on how to change the href font color in a htmlColumn ?

 



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,856 posts
  • Gender:Male

Posted 27 February 2020 - 03:32 PM

Hi,

 

You need to attach TNxStylesSheet6 component (on Next Standard components panel) and then add new rule (under Rules property) and set:

 

Color: some color

Selector: skTag

Name: a

 

Hope that this helps


boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 mddmx

mddmx
  • Members
  • 6 posts

Posted 29 February 2020 - 10:39 PM

Perfect.  Thank you.  NextGrid6 is greatness.

 

  With NxStyleSheet.Rules.Add do
  begin
    Color := ColorToHTML(clRed);
    Selector := skTag;
    Name := 'a'
  end;





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users