Garry's Mod Wiki

DLabel:SetHighlight

  DLabel:SetHighlight( boolean highlight )

Description

Sets the color of the text to the highlight text color defined in the skin.

For the default Derma skin this makes the label red.

Overrides colors set by both DLabel:SetBright and DLabel:SetDark while active.

You should only consider using this if you are using background elements that are not manually painted and are using the skin colors. Otherwise use DLabel:SetTextColor.

Arguments

1 boolean highlight
true to set the label's color to skins's text highlight color, false otherwise.