As 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 closedAuthor: Paul Lefebvre
Here’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 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 closedIn a desktop Canvas control you have two ways to handle a right mouse button press.
Comments closedAs part of API 2.0, the DatabaseRow class was introduced alongside RowSet and DatabaseColumn. These three classes replace DatabaseRecord, RecordSet and DatabaseField respectively.
Comments closedApple just released Apple Transporter to manually upload apps to the Mac and iOS App Stores.
Comments closedThe Xojo Doc site has several thousand pages of information. To make it easier to quickly find things in the online docs, topics are categorized. You can find categories that a topic belongs to at the bottom of its page.
Comments closedAt XDC 2019, I did a session called Avoiding Troubleshooting Troubles, which was essentially about ways to take advantage of the Xojo debugger. During the…
Comments closedA customer on the forum was asking for a way to do case-sensitive array sorting. The built-in array Sort command uses case-insensitive sorting and they wanted an alternative.
It turns out it is super-easy to use the Sort(Delegate) method to create your own sorting method and then pass it to the call to sort.
Comments closed