Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Color and bold property of treeview
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Color and bold property of treeview
Miscellaneous
Thread ID:
00643973
Message ID:
00643973
Views:
49
I am using a treeview and I was wondering how do you control the color and bold properties of each node? I have the follow snippet to change bold property, but its not working.
o = .OleTreeView.Nodes
o.clear
SCAN 
		IF textbold = .t.
			o.bold = .t.
		ELSE
			o.bold = .f.
		endif
		IF ALLTRIM(cparent) = '0_'
			o.add(,1,ALLTRIM(ckey),ALLTRIM(dspval),0)
		ELSE
			o.add(ALLTRIM(cparent),4,ALLTRIM(ckey), ALLTRIM(dspval),0)
		ENDIF
ENDSCAN
Thanks
Nick Patel
Next
Reply
Map
View

Click here to load this message in the networking platform