PopupMenu Magic Show
Tricks for Customizing Popupmenus
Issue: 15.2 (March/April 2017)
Author: Sam Rowlands
Author Bio: Sam is a pixelMancer and codeWeaver at Ohanaware.
Article Description: No description available.
Article Length (in bytes): 21,070
Starting Page Number: 15
Article Number: 15203
project15203.zip Updated: 2017-03-01 11:13:49
Related Web Link(s):
Excerpt of article text...
In this article I'm going to show you how to take the lowly
PopupMenuand give it some much needed love to make it an indispensable part of your toolbox. I'll start with some simple mods, then we'll move on to some more complicated upgrades.
Using Emoji as Icons
This has got to be the simplest way to add some graphics to your PopupMenus. Emoji not only help to "spice" up the interface, but also help the user to quickly identify the option that they're seeking. Not to mention it's really easy and quick.
In the Xojo IDE, where you edit the contents for the
PopupMenu, simply press
ctrl-cmd-spaceto get the emoji picker. Add the Emoji and a space to the beginning of each line, save and run...
Really simple, but it does have some caveats:
Make sure that you use the
Systemfont on the control. With different OS Versions, emoji can fail to show if you manually specify the text font.
...End of Excerpt. Please purchase the magazine to read the full article.