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 closedCategory: Desktop
mac windows and linux
This tutorial will show you how to deploy your SQLite based projects so they behave right on Desktop, Web and iOS, copying the database file to the right place on every target.
Comments closedEarlier this year ago I wrote a post about using the SF Font symbols on macOS Picture.SystemImage
in iOS apps. However that technique has some downsides. For one, the symbol glyphs are hardcoded, which means that it’s not possible to access the new symbols added to the SF Font by Apple. In addition, it isn’t possible to set the font weight and scale for the glyph. In this new post, I’ll show a more flexible way to work with these symbols on macOS 11+.
Like many Xojo developers, I often use virtual machines for testing. Over time the virtual machine disk files can get pretty large, even if you…
Comments closedIn Xojo 2021R2 binary enumerations were introduced. These Enums must be declared in a module and are treated by the compiler as a class. Learn to create an Enum for Days of the Week and demonstrate the use of that by creating a custom segmented button control.
Comments closedI’m happy to report that the Xojo engineers have overcome the hurdles that prevented building for macOS from Windows and Linux. The ability to cross-compile macOS apps from Windows and Linux will return in Xojo 2021r3.
Comments closedThis post was originally published in 2018 and has been updated to use Xojo API 2.0.
Follow this tutorial to create active, aka clickable, words in the text of a TextArea control in your Xojo projects. Learn to use the Object-oriented Delegate design pattern to dynamically change how your app reacts when the user clicks on those active words. Best of all, this project is cross-platform, so you can use it for macOS, Windows and Linux!
Comments closedDid you love Visual Basic? A lot of us did, but it’s 2021 and technology is ever-changing. As you look at the modern alternatives, consider Xojo. For over 20 years, Xojo has been the spiritual successor to VB, a rapid, cross-platform programming language and integrated development environment (IDE). Often called “VB for the Mac”, Xojo is more powerful than VB6 and more approachable than VB.NET. Two factors that are increasingly important because modern coders are everywhere, not just in the technology department.
Comments closedXojo’s Library offers a good amount of UI controls ready to use: buttons, input text controls, lists, popup menus, progress bars, panels, labels, a control to play movies, etc. However, sometimes we need to display exactly the same combination of controls, using the same layout, in several windows of an app. What’s the best approach in these cases?
Comments closed