Cabbage Logo
Back to Cabbage Site

Option Button with svg images

Simple question: is it possible to load images (svg) onto option buttons with a different image on each option? The documentation doesn’t make this very clear, as the imgFile identifier is said to take an “On” or “Off”. I haven’t had any luck messing around with the imgFile identifier.

The funny thing about this issue is that I don’t really see a workaround. I can’t put an image on top of the button because it will prevent me from pressing it. Let me know if there’s some workaround that I’m not aware of.

Actually, I think you can put an image on top, I think you need to call the identifier ‘mouseInteraction(0)’. It will pass any mouse calls to the next lower widget.

I’ve not tried this, but unless it is not available in every widget, it sounds like it will do what you want.

If this is the case, then with each click of the button underneath, you can change the image displayed on top.

Take a look at this.

No, but this would be a pretty simple thing to do with an image?

Archive.zip (2.9 KB)

mouseInteraction(0) works. thanks everyone.