In this tutorial I will show you how to create a Number class that can tell you when its value has been actually set, along with other methods to manage how it is used while demonstrating some common object-oriented techniques and features such as operator overloading. You’ll be able to create a Number from an Integer, Double or String.
Comments closedTag: Rapid Application Development
In my session at XDC 2023, I talked about ways to design your apps so you reuse code across platforms. The first project is JSONReader, so let’s dive in.
Comments closedStarting with Xojo 2023r1 you’ll find a new feature in Xojo’s Debugger panel that allows you to filter the objects and variables displayed, even between different project runs! This lets you stay focused on the more important objects and variables instead of scrolling through the list of all entries.
Comments closedXojo’s Code Editor now lets you move a line or a selection up or down or duplicate entire lines (or a selection). To swap lines, put the cursor on a line and press Option+Up Arrow (Mac) or Alt+Up Arrow (Win/Linux) to move the line up in the code. Press Down arrow to move down.
Comments closedUsing Xojo’s URLConnection to communicate with web services is pretty straightforward. But testing the actual REST API calls can get tricky. To make it easier to test and experiment with REST API calls, Paul created a app in Xojo for doing just this. He called it RESTy in its original format back in 2015. You can download the updated project here built with Xojo 2022r4.1.
Comments closedThere are some situations where you may need a range of numbers that is equally spaced. For example, when given a minimum and a maximum value within which a set of numbers that need to be equally spaced. This is useful if you are designing an UI control displaying “ticks” or for the axis of a graphic chart displaying cartesian values. Continue reading to see a technique to do just this.
Comments closedXojo recently introduced the ability to add (aka draw) tables in PDFDocument using the PDFTable class and the PDFTableDataSource class interface together. Perhaps you already know how to use it, but what if you want to add a table using data from a RowSet? Continue reading and I will show you a technique that will have you doing just that!
Comments closedIn this blog post I’ll show how to add rate limiting to your web application. Rate limiting is used to frustrate abuse of your application by limiting access. The same technique can be used to limit access to your API server by recording the user’s ID instead of IP Address.
Comments closedXojo 2022r4 includes a much improved WebListBox preview in the Layout Editor. Now you can get a closer, truer look at your control when your project is run in a web browser.
Comments closedStarting with Xojo 2022r4 we’ve helped you clarify the minimum operating system needed for your compiled desktop apps to run on. You will be able to set the macOS minimum version required to run your compiled apps. Plus updated “Runs On” build settings for Windows 10/11 and Windows 7/8 compatibility. Continue reading to learn how!
Comments closed