Changing Font, Font Size, FontBold, FontItalic, and ForeColor of Nodes on the Tree Contol in VB6

Hi All,  
 I would like to change the text of a Node in a Tree Control depending on whether or not it has children.  Basically,  how do I change the Font, Font Size, FontBold, FontItalic, and ForeColor of Nodes on the Tree Contol in VB6 without making a change to the entire Tree Control?

 No third party controls allowed please.

Who is Participating?
mcriderConnect With a Mentor Commented:
TreeView1.Nodes(index).Children 'Gives you the number of children in the node "index"

However, the font properties are only associated with Treeview and not nodes... Therefore changing fonts on a node using the standard Treeview object is not possible.

Sorry, but not without a custom control!

DoughBoyAuthor Commented:
Edited text of question.
"No third party controls allowed please"

In that case I don't think you're going to get what you want.
The new generation of project management tools

With’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Is there an echo in here?
DoughBoyAuthor Commented:
I guess I will have to give you the points. You answered correctly.
Thanks for your help anyway.
This question was awarded, but never cleared due to the JSP-500 errors of that time.  It was "stuck" against userID -1 versus the intended expert whom you awarded.  This corrects the problem and the expert will now receive these points; points verified.

Please click on your Member Profile and select "View Question History" to navigate through any open or locked questions you may have to update and finalize them.  If you are an EE Pro user, you can also choose Power Search to find all your open questions.

This is the Community Support link, if help is needed, along with the link to All Topics which reflects many TAs recently added.

For experts interesting in helping the cleanup effort in their respective TAs, this link please:
Thank you,
Moderator @ Experts Exchange
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.