Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - SOLVED:how can i change color font in childs node
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED:how can i change color font in childs node

 Post Reply Post Reply
Author
Message
unforgiven View Drop Down
Groupie
Groupie
Avatar

Joined: 24 February 2010
Location: Neverland
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote unforgiven Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED:how can i change color font in childs node
    Posted: 03 March 2010 at 2:54pm
Hi all
how can i change color font in child of treeview ? i could change color font in root of treeview, but i can't change it for childs .
pls guide me
Back to Top
Baldur View Drop Down
Senior Member
Senior Member


Joined: 22 November 2006
Location: Germany
Status: Offline
Points: 244
Post Options Post Options   Thanks (0) Thanks(0)   Quote Baldur Quote  Post ReplyReply Direct Link To This Post Posted: 11 March 2010 at 8:21am
Each node has an individual forecolor- and backcolor-property.
 
Dim xAddNode As TreeViewNode
Set xAddNode = MyTree.Nodes.Add(...)
xAddNode.Forecolor = vbRed
xAddNode.Backcolor = VbGreen
Back to Top
unforgiven View Drop Down
Groupie
Groupie
Avatar

Joined: 24 February 2010
Location: Neverland
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote unforgiven Quote  Post ReplyReply Direct Link To This Post Posted: 13 March 2010 at 2:44am
Hi Baldur
Thank you for your reply,it work fine
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.235 seconds.