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 closedTag: Beginner Tips
Many times, when we create a desktop application which is doing huge processes, it happens that the responsiveness of our app can be interrupted for few seconds. As developers we need to avoid such scenarios because we want to keep the interaction between the user and the app constant while it’s in use. You have to imagine that our customer doesn’t have a developer’s mindset and will not wait more than 5 seconds if the app freezes. Threading is a great solution to these situations.
Comments closedYuck! It happens to everyone, from beginners to experienced developers: sometimes you’ll get stuck. Perhaps the code you’re working on just won’t do what you want or maybe you’re having trouble understanding code plucked from the internet. Talk to the duck. The rubber duck, that is. The term “rubber ducking” or “rubber duck debugging” is a software development technique where you explain the problem you are having to a rubber duck (or appropriate substitute). Often the act of explaining the problem to someone else, even if that someone is not real, can help you figure it out. It might be like inspiration struck.
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 closedEducators can download Xojo to a classroom of computers and activate the Xojo Educational license on a build machine. Whether your classroom is Windows, Mac or Linux, the Xojo IDE is cross-platform and free to download. Though you may only be teaching desktop development, your students can stretch their skills and use Xojo’s free IDE to develop web, mobile or Raspberry Pi apps.
Comments closedYou are navigating Xojo web 2.0 apps and your use the browser’s back button to return to the previous page of the app. But rather than taking you to the previous page, you get a message that the app lost connection to the sever. This is even more common on a mobile device where we tend to use the back gesture to return to the previous page.
Comments closedThe ability to specify “White Space” for the trim functions was introduced and largely ignored apart from the release notes. Using Trim (or LTrim or RTrim) will remove spaces from the beginning, end or both of your string. The new function allows you to specify what you want to trim.
Comments closedI was recently asked how to set the background color in a WebDialog
. There are a few approaches you can take to accomplish this. The simplest one is to add a rectangle as a layer of the WebDialog and set a color to it. In this tutorial you’ll learn how to set the background color by accessing the style property of the object in the DOM model and setting it there.
Learn to program a simple but entertaining game as an introduction to the Xojo programming language. In this game the computer calculates a random number between 1 and 100 and we have to guess it. Follow this tutorial…
Comments closedMy own projects have #PRAGMA warning “TODO” in the App.Open event. Wherever you want a ToDo note in your code type #PRAGMA warning “Your message”.
Comments closed