Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 14 in printed book and digital formats -- plus a one-year subscription so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 15.2 ('Xojo Power Tricks')
Instant purchase and download via GumRoad!

FEATURE

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
Resource File(s):

Download Icon project15203.zip Updated: 2017-03-01 11:13:49

Related Web Link(s):

http://ohanaware.com/retinakit/

Excerpt of article text...

In this article I'm going to show you how to take the lowly PopupMenu and 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-space to get the emoji picker. Add the Emoji and a space to the beginning of each line, save and run... Voila!

Really simple, but it does have some caveats:


Make sure that you use the System font 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.