Recent

Author Topic: TTreeView and Color  (Read 5060 times)

Zombat

  • New member
  • *
  • Posts: 7
TTreeView and Color
« on: September 25, 2006, 06:36:12 pm »
I'm trying to set some colors on a TTreeView, but everything except BackgroundColor seems to fail...

Code: [Select]
 frmMain.tvMain.BackgroundColor := t29.Color;
  frmMain.tvMain.ExpandSignColor := t30.Color;
  frmMain.tvMain.Color := t30.Color;
  frmMain.tvMain.Font.Color := t30.Color;


I've checked the Font.Color and t30.Color and they're not equal, so that's not the reason...

(The problem occures in Windows XP with no xp manifest)

Zombat

  • New member
  • *
  • Posts: 7
TTreeView and Color
« Reply #1 on: September 25, 2006, 08:08:14 pm »
Seems to have been a minor problem with linking main.pas to colors.pas and colors.pas to main.pas (main was after implementation in colors).

 

TinyPortal © 2005-2018