Solved

help in treeview

Posted on 2002-04-12
4
374 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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

743 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

15 Experts available now in Live!

Get 1:1 Help Now