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 closedCategory: Cross-Platform
Xojo supports dark mode in most of the Desktop controls. However, the TabPanel control doesn’t yet support dark mode. But it can be made to support it. I use a segmented button and a PagePanel to overcome this and in the blog post, I’ll show you how.
Comments closedXojo Mobile and Web project controls don’t raise the TextChanged Event like Desktop controls do. But I want my code to be as similar as possible across all project types so I’ve created some custom controls. In this blog post I’ll walk you through the process of creating a Custom Desktop TextField control.
Comments closedThe Iterable and Iterator interfaces are a great way to simplify code. For example, what if you want to iterate through dates in a range?
Comments closedSometimes you want to display a message on your mobile screen, but also want it to disappear after a short period of time. A great way to do that is to use the MobilePopupMessage class.
Comments closedIn this tutorial we will see how to retrieve the file icon using macOS Quick Look technology and the regular file type associated with the selected file, for example JPEG, MOV, PDF, RTF, etc. Continue reading to learn how to achieve this using Declares.
Comments closedThe 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 closedIf 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