>Hi all
>
>I have tried to modify the backcolor of my text controls. Sticking out like a sore thumb is the TreeView which has the default white backcolor.
>
>Can I change this backcolor?
>
>I did give the properties of the TV a look-see but couldn't find it.
>
>Please advise.
I don't suggest playing with treeview colors (because it's ill behaving). However if you'd do:
With myTree
oNode = .nodes.Add(m.lcParentID,tvwChild,m.lcNodeID,m.lcNodeText)
oNode.BackColor = m.lnBackColor
Declare integer SendMessage in win32API ;
integer hWnd, integer Msg, integer wParam, integer lParam
TVM_SETBKCOLOR = 4381
SendMessage(.hWnd,TVM_SETBKCOLOR, 0, m.lnBackColor)
Endwith
Cetin