In 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 closedCategory: Desktop
mac windows and linux
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 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 closedStarting with Xojo 2021r3, the Windows IDE is now themed for dark mode. This is because we’ve added support for dark mode aware Windows apps. But wait, how is that even possible with Win32 controls?
Comments closedFor those of you that don’t consider reading through over 220 items as fun as I do, here are a few things I thought I would highlight, in no particular order…
Comments closedOur vision for Xojo has always been to make it fast and easy for people of varying programming skill levels to create applications. The primary…
Comments closedXojo 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 closedThis 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 closed