Skip to content

Tag: Xojo API 2.0

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

iOS User Authentication with Face ID

With the new UserAuthentication class available in Xojo 2021 Release 1, you can now easily ask an iOS user to authenticate themselves using Face ID, Touch ID or with their password/passcode. In an iOS project, add a UserAuthentication object to your screen and change its name to Authenticator.

Comments closed

MobileMoviePlayer

The MobileMoviePlayer is a relatively new iOS feature in the Xojo Programming language. To use MobileMoviePlayer start a new iOS project and drag the MoviePlayer control from the Library onto a Screen.

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