Glad it helped.
>That worked wonder Taylor!
>
>I thought this LOADPICTURE is only in VB.
>
>Thanks a lot,
>Ali
>
>>>Hi Everybody,
>>>
>>>I have an OCX written in VB. When I open it in VB I can assign 99 to MousePointer and then assign any icon file to MouseIcon.
>>>
>>>However, when I open it in VFP, it shows MouseIcon an Object with:
>>>Type, Handle, Height, hPal and Width properties and Render method. I can not assign an icon file to this property in VFP? Does anyone have any thought on this?
>>>
>>>Thank you,
>>>Ali
>>
>>Isn't that what LOADPICTURE(filepath) is for? That creates an object reference to the file.