Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

help in treeview

Posted on 2002-04-12
4
Medium Priority
?
381 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
Bhatti earned 200 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
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 column That will then direct you to their download page. From that p…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

730 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