Solved

help in treeview

Posted on 2002-04-12
4
378 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
edit html 3 141
VB.Net Reusable Form Layout 4 160
Delphi : could not find program, '...exe' 2 194
JavaFX TableView not displaying correctly 3 62
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.
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 synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

821 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