The DrawText method from the Graphics class offers a simple way to left-align text at the given X and Y coordinates, even applying a wrap value to wrap every line of the text block at the provided width value. Wouldn’t it be great to be able to do the same thing while aligning blocks of text to the right and center? Continue reading and I will show you a technique you can use as the starting point which you can fine-tune to your specific needs.
Comments closedTag: Development
Sometimes 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 closedXojo has an extensive testing period where actual users test a pre-release version with their projects but if you are wondering what kind of testing we do internally before each pre-release of Xojo, we have quite a bit of automated testing processes. There are over 400 tests just for the compiler alone. Already, we are approaching 300 tests for our Android framework. In total, across all supported platforms, there are over 2500 automated tests.
Comments closedThere seem to be a lot of misconceptions about what the MVPs do. Some say it’s just a shiny pin on our lapels, others expect us to be Xojo’s de facto QA. So, what’s expected of us and what do we really do?
Comments closedXojo 2021 Release 3 has a few improvements to the Crypto module that you might find useful such as SHA3, BlowFish/TwoFish and CRC-32.
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 closed…why (does) this process seems so complicated in the first place? What Apple is trying to do is to provide operational security…
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