API 2.0 added Var as an alias for Dim. Var is more recognized by coders from other languages and that’s great. Easily readable code is the goal, so I use both.
Comments closedCategory: Tips
sort code tips and tricks
Often when debugging an application, you’ll need to enter the same data in the same fields over & over. There is a temptation to set the value of the field to the test data. The downside of this is that you need to remove all those defaults before deploying your application.
Comments closedSometimes it is necessary, or at least user-friendly, to adjust your interface when the user holds down modifier keys.
Comments closedAs a follow-up to our post on Escaping Quotes in Strings, someone asked how they might deal with something such as the tab character in a String. Unlike with a quote, dealing with a non-visual character (such as a tab or end-of-line) in a String is trickier because you can’t actually type those characters. So instead you have to refer to the character another way.
Comments closedHere’s a quick tip about embedding quotes in your string literals. Let’s say you need to put quotes inside a string. The most common way…
Comments closedIn the newest version of the MBS Xojo Plugin 10.0 we offer functions for the use of JavaScript in your Xojo solutions. If you have a problem that you want to solve, you don’t have to reinvent the wheel again and again.
Comments closedThere’s a new programming font that was just released and since I like to look at programming fonts, I thought I’d give this one a try with Xojo.
Comments closedHave a class that has an object property that needs to be initialized or instantiated? You can always instantiate the property in the Constructor (or Open event) like this:
Comments closed