An interesting thread on the forums turned up something that more of us should consider when working in any cross-platform tool, Xojo included. What was discovered was perhaps…
Comments closedXojo Programming Blog Posts
Earlier I posed the question about why these two similar bits of code do slightly different things: dim path1 as string = “””C:\users\ieuser\desktop\new folder””” path1 =…
Comments closedHere’s a riddle for you! Suppose you are in the habit of using “function chaining” like this to reduce your lines of code: path2 =…
Comments closedIn iOS, a view can contain two separate toolbar areas: a Navigation Bar, which displays at the top of the view, or a toolbar which…
Comments closedIn addition to the iOS Table Features I blogged about earlier, Xojo 2016r2 includes these additional powerful iOS features:
- Location
- Motion
- PicturePicker
- ScrollableArea
- SharingPanel
Making iOS apps just got a lot easier with the updates and enhancements to to the Table control in Xojo 2016r2. New features include:
- Scroll to a specific row in the table
- Row actions
- Row re-ordering
- Row editing
- Custom cells
Comments closed
Using databases with web apps is not much different than using them with desktop apps, but there are a few things to keep in mind. The most important thing to note is that a web app allows multiple users. This means you’ll want your database connection to be unique for each user that connects to the web app, rather than global to the app itself (as is common in desktop apps). The simplest way to ensure this is to create the connection to your database in the WebSession.Open event handler, saving a reference to the connection as a property that you add to WebSession.
6 CommentsPaul talks with Tom Catchesides of Light Blue Software about how he started using Xojo, the experience of migrating a FileMaker app to Xojo, surnames and retro computers. Don’t miss this fun-filled episode!
Comments closedI’m sure you’ve all seen the iOS Mail app, which displays the number of unread messages in a small red badge in the top right of the app icon. You can do this too with your Xojo app and the magic of the Declare command.
Comments closedIn a previous post we saw how to implement the Singleton Design Pattern in our Xojo apps. Now, it is time to look at another useful Design Pattern you can use in your apps: the Observer Design Pattern. This one solves the kind of question “How can the ‘x’ controls be automatically notified every time there are changes on ‘y’?” Sound interesting? Let’s see how!
In fact, this is the first of a two part series regarding the Observer Design Pattern. This one will focus on how easy is to implement using the interfaces already available in Xojo for UI controls like the PushButton, the BevelButton, and also for the Timer class. In Part 2, we will see how to implement the Observer Design Pattern from scratch, using our own Classes and Interfaces, so it will be easier to understand the mechanisms behind this Pattern and how to use it.
Comments closed