I was having some fun with badges, trying to recreate a design. I’ve ended up writing a few extension methods to use them on almost any WebUIControl.
Tag: Beginner Tips
Xojo has very good graphics support. You can drop images into your project and use them with several controls. You can use the various Paint events to draw your own graphics. And there’s another source of graphics you may not have considered: emojis. Emojis can be used anywhere that text can be used because they are simply Unicode characters. That means they can be used in textfields, buttons, labels, popup menus, listboxes and more.
Sometimes we need to rotate a Picture from portrait to landscape and vice versa. Since the introduction of the Graphics methods Translate and Rotate this is pretty simple to do! Continue reading and I will show you how to create a Method Extension for the Picture class that will be able to do that. This will work on Desktop and iOS projects by only copying and pasting the code, but you will need to make some changes to the example project for the Web version because of the need to convert Picture to WebPicture and back.
Recently Xojo made the switch to using Issues for tracking bugs and feature requests. Issues is a web-based system you can find here: https://www.xojo.com/issues The…
TTC files are TrueType Collection files that contain the data needed to represent multiple font styles and font weights; this is a collection. On the other hand, TTF files are TrueType Font files, that contains the data required to work with only one font style or one font weight (for example: Regular, Bold or Light).
Do you need to display all the font family members (styles and weights) available in your Windows computer? There is a simple way to do it using the RegistryItem class! Continue reading and I’ll show you how.
We are always looking for ways to help you be more successful using Xojo and the documentation is a critical component to your success. With that in mind, we have been working on updating Xojo’s documentation for a while now. This Xojo Documentation uses a completely new engine, offers improved searching and more to help you, and us, use it more effectively.
The Iterable and Iterator interfaces are a great way to simplify code. For example, what if you want to iterate through dates in a range?