It’s a simple, quick way to work with your Xojo code with SVN.
Comments closedXojo Programming Blog Posts
So it’s Pi day and the one question you may be wondering is “how is Pi calculated?”
Comments closedThe Inspector Behavior is a feature that you were probably not aware of at first glance when using the Xojo IDE. It is tightly related to the Inspector Panel you are already using for adjusting all the control settings and other classes instances properties.
Comments closedThere’s been a bit of discussion about how the new Xojo.Net.HTTPSocket is slow for some users on Windows, which we’ve been trying to isolate to…
Comments closedWant a quick and easy way to send notifications to your devices (iOS, Android and web browsers) from Xojo desktop and web apps? Perhaps you want to send a notification if a purchase is made, an error occurs or a long process has finished. If so, the free Pushover web service might be what you need!
Comments closedHere are the questions people asked during our February “What is Xojo” webinar. Did you miss the webinar? It’s less than 30 minutes and you can watch it right here:
Comments closedJoin Paul as he talks with Dana Brown and Alyssa Foley, the two women that keep Xojo running, as they talk about how they came to Xojo, working from home, being full-time working moms, XDC and favorite TV shows.
Sooner or later your app will need to work with files, maybe to save the data generated with the app itself, to open the files created with other apps or because is the main purpose of the utility you are working on. Xojo gives you the class FolderItem fully loaded with a useful bunch of properties that allow you to examine the attributes of any file; for example, the creation or modification of dates, the file path (in several formats), if the file is an alias, etc. The FolderItem class also gives you the methods to do a lot of file operations without effort.
Comments closedFrom time to time we get code that illustrates a problem a user is having when they rely on old-school ASCII. This problem can occur when using the Chr function to create a character.
One example we see reasonably frequently is code to create a string that contains a quote like:
dim someString as String = chr(34) + "someValue" + chr(34)
This style is not necessary and may give unwanted results if you have an unusual string encoding. Instead, you can write this without the use of the Chr function. Here’s how:
Comments closedWith all the Retina/HiDPI work done in the past few years, we’ve had to add some new features along with it. One of these newer features is the Graphics ScaleX and ScaleY properties. For the purposes of Retina/HiDPI, the scale factor is used when converting user space coordinates to backing store coordinates. While mostly integral on MacOS (unless originating from some code that’s probably not ours), it can vary on Windows, and perhaps arguably mostly fractional. This is because Windows allows you to set DPI scales at 125%, 150%, etc. So when dealing with fractional scales there are a few things to watch out for:
- Rounding issues
- Anti-alias effect
While the framework takes care of rounding issues, for the most part, the secondary issue of anti-aliasing is up to you.
Comments closed