Imagewell border

Is there anyway to remove the white border around a Imagewell at runtime?

Use a Canvas Control instead to display your graphic. It’s more flexible than the ImageWell anyway.

On the Mac, yes there is. If you’re interested, I’ll dig out the declare.

#if targetMacOS and targetCocoa then declare sub NSImageWellSetImageFrameStyle lib "Cocoa" selector "setImageFrameStyle:" ( NSImageWellInstance as integer, frameStyle as integer ) NSImageWellSetImageFrameStyle( me.handle, 0 ) #endif
I was working on a project that used it, so I copied and pasted. Add this declare to the open event of a ImageWell and the border will disappear.