Page 1 of 1

Images Instead of Choices in Pulldown Menus

Posted: Thu Jun 25, 2015 12:18 am
by deeverd
Hello Forum,

A recent challenge I've been having is trying to find out if it is possible to put images into a pulldown menu. In other words, in the properties section of the pulldown menu where one would ordinarily have "Choice 1," "Choice 2," "Choice 3," etc., is there some way to have small images for users to click on instead of just using text?

Specifically, I'd like users to be able to use a pulldown menu that showed a variety of possible wallpaper images that they could set for a backdrop rather than just having the name of the wallpaper style in text.

This might be an impossible task but it would be great if it were possible.

Thanks in advance for any insights any one can offer.

Cheers,
deeverd

Re: Images Instead of Choices in Pulldown Menus

Posted: Thu Jun 25, 2015 12:31 am
by FourthWorld
A bit of work, but doable: you can build menu items within a stack, and have the stack popup when a menu button is clicked by using either the popup command or setting the menu button's menuName property to the name of the stack you want to appear.

Re: Images Instead of Choices in Pulldown Menus

Posted: Thu Jun 25, 2015 1:40 am
by deeverd
Hello Richard Gaskin,

Thanks for the advice. I'll start experimenting along those lines.

I'm guessing then that there is no way to use a command such as setting the imageSource to "Choice 1" etc.

Oh well, I'll do it the hard way and start building that menu substack.

Cheers,
deeverd

Re: Images Instead of Choices in Pulldown Menus

Posted: Thu Jun 25, 2015 1:54 am
by FourthWorld
No simple solution available at this time, but I think you'll find the flexibility of stack menus very satisfying for gallery pickers like this.