>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
Hi Kevin,
I've used the Picture Clip ActiveX Control to initialize one or more ImageLists at runtime, so it can be done. However, I think you might want to try LOADPICTURE() rather than GETPICT(). I haven't tried this so it's a guess. GETPICT() returns a character expression, LOADPICTURE() returns an object reference. While the control's docs aren't terribly clear on this, it seems that it needs the latter.
hth,
George
Ubi caritas et amor, deus ibi est