As a Xojo web developer probably you’re used to embedding controls inside others, like Rectangles
or Containers
; but I bet sometimes you don’t get the expected results. Read on to learn a quick fix that uses an extended method to correct a common problem you might run into when embedding menus.
Tag: Beginner Tips
Our 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 closedLike 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 closedMany 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.