Skip to content

Author: Javier Menendez

Web Tip: Blocking the Back Button

You 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 closed

New Additions to PDFDocument

Xojo 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 closed

Tip: Setting the Background Color in WebDialogs

I 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. 

Comments closed

ContainerControl: Composed User Interface Components

Xojo’s Library offers a good amount of UI controls ready to use: buttons, input text controls, lists, popup menus, progress bars, panels, labels, a control to play movies, etc. However, sometimes we need to display exactly the same combination of controls, using the same layout, in several windows of an app. What’s the best approach in these cases?

Comments closed

Creating your own ComboBox Subclass with Sorted Menu Items

The Xojo ComboBox desktop control is a powerful one. It combines the capabilities of a TextField with the PopupMenu. That means that you can choose from the available options in the associated menu or you can type another value in the ComboBox text field. What about getting the ComboBox to do things not included in the class?

Comments closed