Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

help in treeview

Posted on 2002-04-12
4
Medium Priority
?
383 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 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying 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

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…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
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.
Suggested Courses

885 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