[Solved] Text color in TTreeView node lazarus / 31-LCL ---------------------------------------------------------------------- Edson · 2017-06-21 03:39 I´m trying to change the text color of all nodes in a TTreeView: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TfraSyntaxTree.TreeView1AdvancedCustomDrawItem(  Sender: TCustomTreeView; Node: TTreeNode; State: TCustomDrawState;  Stage: TCustomDrawStage; var PaintImages, DefaultDraw: Boolean);var  R: TRect;begin  with TreeView1.Canvas do begin     font.Color:= clGreen;     font.Style := [fsBold, fsItalic];     DefaultDraw := true;    end;end; The style changed, but not the text color. Suggestions? ---------------------------------------------------------------------- AlexTP · 2017-06-21 06:04 Turn off ThemedDraw option, and it will be green. ---------------------------------------------------------------------- Edson · 2017-06-21 14:16 Yes. You are right.