Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView - ImageList
Message
From
04/11/2001 21:33:10
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00576033
Message ID:
00577253
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform