This was asked in other posts but not answered as far as I can tell. How do I remove an image or reset the control to a no picture state for the FireImage control?
Thanks
doug
OK, just send a zero len string to clear the picture
In code or IDE? I'm guessing code, but I did see something odd when trying this in the IDE. If I detach the image from the control it still renders with the image. If I then remove all images it still has an image as well and a blank image that can't be deleted showing a ref count of 3 appears.
Yes I was talking about in code. I found the answer in the FireImageSQLiteningDemo (Thank you)
'clear image
noStr = ""
SendMessage HWND_POPUP_PKGIMAGE, %FIREIMAGE_SETIMAGENORMAL, %FIREIMAGE_LOADSTRING, VarPtr(noStr) 'clear picture