![]() |
SOLVED:how can i change color font in childs node |
Post Reply ![]() |
Author | |
unforgiven ![]() Groupie ![]() ![]() Joined: 24 February 2010 Location: Neverland Status: Offline Points: 35 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
Baldur ![]() Senior Member ![]() Joined: 22 November 2006 Location: Germany Status: Offline Points: 244 |
![]() ![]() ![]() ![]() ![]() |
Each node has an individual forecolor- and backcolor-property.
Dim xAddNode As TreeViewNode
Set xAddNode = MyTree.Nodes.Add(...) xAddNode.Forecolor = vbRed
xAddNode.Backcolor = VbGreen
|
|
![]() |
|
unforgiven ![]() Groupie ![]() ![]() Joined: 24 February 2010 Location: Neverland Status: Offline Points: 35 |
![]() ![]() ![]() ![]() ![]() |
Hi Baldur
Thank you for your reply,it work fine |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |