Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ImageList
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00234244
Message ID:
00234664
Views:
31
I use this code in a treeview wrapper class to add images to the ImageList:
PARAMETERS tcImageFile, tcKey, tiIndex
IF ISNULL(tiIndex) OR EMPTY(tiIndex)
	THIS.oleImageList.ListImages.Add(, tcKey, LoadPicture(tcImageFile))
ELSE
	THIS.oleImageList.ListImages.Add(tiIndex, tcKey, LoadPicture(tcImageFile))
ENDIF
Arne

>Does anyone know if its possible to add an image to an
>ActiveX ImageList at runtime?
>
>I'd like to allow the user to pick an image with
>GETPICT()and then use that image in an ActiveX TreeView.
>
>Any thoughts?
>
>TIA
Previous
Reply
Map
View

Click here to load this message in the networking platform