Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Color and bold property of treeview
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Color and bold property of treeview
Divers
Thread ID:
00643973
Message ID:
00643973
Vues:
50
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform