Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: TTreeView and background colour


This question is answered.


Permlink Replies: 2 - Last Post: Feb 15, 2015 4:13 AM Last Post By: Vaclav Smidl
Vaclav Smidl

Posts: 27
Registered: 1/23/11
TTreeView and background colour  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 8, 2014 10:38 PM
Hello,
I am using treeview component for item showing. When I click on item and item goes to active mode it is very hard to read beacuse background colour and text colour are similar. Is it way how to force these colour for active items from code and not using windows standard colour scheme?
vsm
Boba ½°

Posts: 73
Registered: 12/19/03
Re: TTreeView and background colour
Correct
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 9, 2014 9:35 AM   in response to: Vaclav Smidl in response to: Vaclav Smidl
"Vaclav Smidl" wrote in message news:704742 at forums dot embarcadero dot com...
Is it way how to force these colour for active items from
code and not using windows standard colour scheme?

check to see if your version of builder offers custom draw
for TTreeView items.
Vaclav Smidl

Posts: 27
Registered: 1/23/11
Re: TTreeView and background colour  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 15, 2015 4:13 AM   in response to: Boba ½° in response to: Boba ½°
Boba ½° wrote:
"Vaclav Smidl" wrote in message news:704742 at forums dot embarcadero dot com...
Is it way how to force these colour for active items from
code and not using windows standard colour scheme?

check to see if your version of builder offers custom draw
for TTreeView items.

Yes,iam using CustumDraw method for changing font of ttreeview items. But background changing works only for windows xp color scheme only. If I use standard windowd 7 scheme it is still same colour. Is there any way how to change this background color in win 7 color scheme?
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02