Xojo’s implementation of OpenGL maps directly to the OpenGL API. This means you can often use OpenGL tutorials on the internet with Xojo with almost…
Comments closedCategory: Tutorials
tutorials, longer instructional posts, how to’s
Sometimes we need to rotate a Picture from portrait to landscape and vice versa. Since the introduction of the Graphics methods Translate and Rotate this is pretty simple to do! Continue reading and I will show you how to create a Method Extension for the Picture class that will be able to do that. This will work on Desktop and iOS projects by only copying and pasting the code, but you will need to make some changes to the example project for the Web version because of the need to convert Picture to WebPicture and back.
Comments closedStarting in Xojo 2022r2 you have the option to generate Program Database (PDB) files with your 64-bit Windows builds. If you’re unfamiliar with what PDB…
Comments closedI know, I know, it’s not the usual thing to do when making presentations, but did you know that it is possible to create presentations using Xojo’s and PDF? If you’re interested in this little experiment, read on and I’ll show you how to do it using Xojo’s PDFDocument.
Comments closedThe DrawText method from the Graphics class offers a simple way to left-align text at the given X and Y coordinates, even applying a wrap value to wrap every line of the text block at the provided width value. Wouldn’t it be great to be able to do the same thing while aligning blocks of text to the right and center? Continue reading and I will show you a technique you can use as the starting point which you can fine-tune to your specific needs.
Comments closedThe WebImageViewer control allow us to load and display any image retrieved from a given URL. Wouldn’t be nice to have that same kind of functionality in the Desktop and iOS versions of the ImageViewer? Continue reading and I’ll show you how to achieve just that.
Comments closedXojo Mobile and Web project controls don’t raise the TextChanged Event like Desktop controls do. But I want my code to be as similar as possible across all project types so I’ve created some custom controls. In this blog post I’ll walk you through the process of creating a Custom Desktop TextField control.
Comments closedIn this tutorial we will see how to retrieve the file icon using macOS Quick Look technology and the regular file type associated with the selected file, for example JPEG, MOV, PDF, RTF, etc. Continue reading to learn how to achieve this using Declares.
Comments closedThe process of adding new controls to windows (or containers) at runtime has been greatly simplified. Instead of having to deal with control arrays, when you use Xojo 2021r3 or later you can call the new AddControl method on the DesktopWindow (or DesktopContainer) where you want to add the new control. Continue reading and I will show you how!
Comments closedAdded to PDFDocument in Xojo 2021r3 is the ability to create PDF Forms (aka AcroForms) in your PDFs. This means that it is possible to add the following Form controls to a PDF: PDFButton, PDFTextField, PDFTextArea, PDFCheckBox, PDFRadioButton, PDFPopupMenu, PDFComboBox, PDFListBox
Comments closed