Skip to content

Category: Desktop

mac windows and linux

TTC to TTF File Converter

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).

Comments closed

A Web App to Calculate Combat Rolls in Twilight Imperium

Every few weeks my son Lucas gets together with his friends for board game day. Last week’s game was Twilight Imperium. One part of the game includes rolling a 10-sided die to calculate whether one of your ships successfully registers a hit on your opponent. Apparently this is something that can take a while to do as each player amasses more and more ships. This was ripe for automation!

Comments closed

Simplified: Adding User Interface Controls at Runtime

The process of adding new controls to windows (or containers) at runtime has been greatly simplified. Instead of having to deal with control arrays, when you use Xojo 2021r3 or later you can call the new AddControl method on the DesktopWindow (or DesktopContainer) where you want to add the new control. Continue reading and I will show you how!

Comments closed

Desktop: Adding Controls at Runtime

If you have been using Xojo, you may be used to adding Controls at runtime using Control Sets. You may not know it but beginning with Xojo 2021r3, there is a better way. Using the new Desktop Controls introduced in Xojo 2021r3, you can add Controls to a DesktopWindow at runtime using AddControl, just like you do with Xojo Mobile and Web projects.

Comments closed

New Desktop Controls

Xojo 2021 Release 3 Xojo introduces a new set of Desktop controls. Each of these controls replaces its original control counterpart and is prefixed with Desktop. For example, Window is now DesktopWindow and TextField is now DesktopTextField. The driving logic behind these new controls is that they allow us to make their event names match the Web and Mobile versions. In addition, the new controls gave us the opportunity to make some other changes to various methods that would have been problematic to make in the existing controls. Desktop controls now are a much closer match in terms of API to their Web and Mobile equivalents. These new controls make more code work without changes when you move from one project type to another.

Comments closed