A quick tip I wanted to share about using Web DatePicker. I was using the DatePicker control on a web page and the results didn’t look correct.
Comments closedCategory: Tips
sort code tips and tricks
If you are creating a web application, you’ve already noticed most of the time you are using WebListBox controls. Xojo Web 2.0 comes with a hidden gem called Custom Cell Renderers. They allow you to create reusable pieces of code to enhance your table cells.
Comments closedThere are plenty of times when your Xojo apps might need to know the public or external IP address is, and there are a lot of web sites or services that you can use with Xojo to find that. I found ipify to be easy to use
Comments closedYou are navigating Xojo web 2.0 apps and your use the browser’s back button to return to the previous page of the app. But rather than taking you to the previous page, you get a message that the app lost connection to the sever. This is even more common on a mobile device where we tend to use the back gesture to return to the previous page.
Comments closedThe ability to specify “White Space” for the trim functions was introduced and largely ignored apart from the release notes. Using Trim (or LTrim or RTrim) will remove spaces from the beginning, end or both of your string. The new function allows you to specify what you want to trim.
Comments closedXojo 2021r2 brings more enhancements, new features and a bunch of bug fixes to the PDFDocument class. Among these, probably the most important is the arrival of PDFDocument for iOS. But you’ll also find new features like adding annotations and links to your PDFs, new PDF viewer options and the ability to jump to a specific page in a PDF.
Comments closedXojo 2021r2 introduces a couple of enhancements to Enumerations in Xojo. The enumeration editor now shows a preview of what the value will be so there’s no more guessing or counting. In addition, we’ve added a new Binary option which allows you to automatically create sets that aren’t mutually exclusive.
Comments closedThere are several Code Editor improvements in Xojo 2021 Release 2 that you might enjoy: Line Numbering and the Gutter, Code Folding, Super Return and more…
Comments closedI was recently asked how to set the background color in a WebDialog
. There are a few approaches you can take to accomplish this. The simplest one is to add a rectangle as a layer of the WebDialog and set a color to it. In this tutorial you’ll learn how to set the background color by accessing the style property of the object in the DOM model and setting it there.