Solved

help in treeview

Posted on 2002-04-12
4
375 Views
Last Modified: 2013-12-26
Hello, my problem is:

i want to change the backcolor of a treeview in execution time (because is a custom color) and the textcolor too, i can do that but only change the backcolor of treeview and not the backcolor of text, this stay in white, so it look very bad. some body can help me?
Thanks

Jessy
0
Comment
Question by:jessica_butanda
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
Bhatti earned 50 total points
ID: 6941567
BackColor and TextColor are the properties of the TreeView but not the TreeViewItem.
You can change the backcolor of the Treeview and Text color of all text in treeview.

Please just go to the Help index and write Treeviewitem:

Here you will find the properties of the Treeviwitems. May this will help you to do something else.

May exist some trick to change the backcolor of the text or color of the individuel text but PB have no such property for treeviwitem that i found in Help by Treeviewitem.
0
 
LVL 4

Expert Comment

by:Bhatti
ID: 6944408
If it look bad (But I know when you select a text in the treeview, it highlighted). You have another possibilities in Treeview as Bold the selected text.

You can of cource change the color of the text  in treeview in run time. TextColor property of the Treeview change the color of the text. (All text).

If you need any help how to BOLD the text  or change the color at run time please let me know.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now