Adding icons for various menu items

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
tturner43
Posts: 21
Joined: Fri May 27, 2011 10:01 am
Contact:

Adding icons for various menu items

Post by tturner43 » Wed Jun 15, 2011 9:33 am

How do you add icons for menu items?

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Adding icons for various menu items

Post by Klaus » Wed Jun 15, 2011 9:48 am

Hi tturner43,

icons in menus are not (yet) supported, sorry.


Best

Klaus

tturner43
Posts: 21
Joined: Fri May 27, 2011 10:01 am
Contact:

Re: Adding icons for various menu items

Post by tturner43 » Wed Jun 15, 2011 9:24 pm

Can you adjust the color of the menus?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Adding icons for various menu items

Post by Mark » Wed Jun 15, 2011 9:48 pm

Hi,

On MS Windows, you can adjust the backColor of the menu group to change the colour of the menus.

Also on Windows, you could use a stack panel instead of a regular menu to show a menu with icons. You can't do this on Mac.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

dglass
Posts: 519
Joined: Thu Sep 24, 2009 9:10 pm
Contact:

Re: Adding icons for various menu items

Post by dglass » Wed Jun 15, 2011 10:42 pm

Mark wrote: Also on Windows, you could use a stack panel instead of a regular menu to show a menu with icons. You can't do this on Mac.
:?:

I can create a menu button that uses a stack as its menu, and it works on OS X (at least testing in the IDE). Are you referring to other menus, like the main menubar?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Adding icons for various menu items

Post by Mark » Wed Jun 15, 2011 11:15 pm

Yes.
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

kray
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 56
Joined: Sat Apr 08, 2006 5:28 pm
Contact:

Re: Adding icons for various menu items

Post by kray » Fri Jun 17, 2011 3:40 am

Chipp has a LiveCode plugin that is based on some of my code that does this for Windows. Here's the URL:
http://www.altuit.com/webs/altuit2/altP ... nloads.htm. Go down to about the middle of the page and look for "altMenuStack".
Ken Ray
Sons of Thunder Software
Email: kray@sonsothunder.com
Web site: http://www.sonsothunder.com

Post Reply