Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView - ImageList
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00576033
Message ID:
00577253
Vues:
22
Nick,

A big thanks.

It helped. Now I can use ImageList in TreeView. How do I customise image height/width. I tried following way but could not success. It always come in big size (32/32) which I do not want. Any help would be appreciated.
#Define NodeImage_Loc 		"Graphics\NodeImg.ico"
#Define NodeExpand_Loc 		"Graphics\NodeExp.ico"
#Define NodeSelect_Loc 		"Graphics\NodeSel.ico"

Procedure Init
	With This
		.ImageHeight = 16
		.ImageWidth = 16
		With .ListImages
			.Add(,'NodeImage',LoadPicture(NodeImage_Loc))
			.Add(,'NodeExpand',LoadPicture(NodeExpand_Loc))
			.Add(,'NodeSelect',LoadPicture(NodeSelect_Loc))
		EndWith
	EndWith
EndProc
Manoj Karki
manoj0karki@yahoo.com
Nepal
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform