Weird Xojo behavior
Hello all. Starting with 2023 R4 (and continuing with the latest pre-release build), I am experiencing a disrupting behavior with Xojo (and Xojo only). When I select code or try to open a webpage in...
View ArticleWindow opens in modal mode
When I open a window from out an application it opens in modal mode, so locking the controls in the window. Is this still a bug or is there a way to open another window from your application with all...
View ArticleAppleEvent, ae, not sending
Hello, This code displays the message box and launches Disk Utility but does not launch Disk Utility 's parent folder. How can I fix that? If NSWorkspace.ApplicationFile("Disk Utility") is nil or not...
View ArticleCancelLoad for WKWebViewControlMBS
What is the equivalent of CancelLoad in WKWebViewControlMBS? DidFinishNavigation is DocumentComplete. But the rest of the events have lovely long names which don’t tell me anything. 2 posts - 2...
View ArticleODBCDatabase set SQL_ATTR_QUERY_TIMEOUT
I am trying to set attributes such as SQL_ATTR_QUERY_TIMEOUT for an ODBCDatabase. I don’t believe there is an ODBCConstant for this in Xojo. How can I use ConnectionAttribute to set this (and other)...
View ArticleDoublebuffer, EraseBackground gone
These have been marked as deprecated for a while. In 2023, they have gone. Now, my windows app gives a big blank window before repainting, when restored from being minimised. There is no need for...
View ArticleFavicon on the fly
Im trying to figure out how to dynamically update the favicon of an application during runtime. At the moment, I can easily paste the logo directly within the App class in the IDE. However, I’m...
View ArticleHow do I add an OLEContainer to a Web project?
Hi all, New to Xojo web but fairly experienced on the desktop side. I have an ActiveX control that controls all my smart lights. I’d like to make a web interface for my lights in Xojo Web, compile it...
View ArticleReadLine failure mystery
Here’s the problem: 2023R4 Windows using a TextInputStream: I have a text file of about 5,000 lines. Each line is about 60 ASCII characters long and ends with CRLF (0D0A). Input the file with...
View ArticleMBS SQLite Extension (for IOS)
I have been looking at the MBS SQLite Extension. It has some functions that might be very useful for me. Like distance, string differences, etc. As far as I can see, this extensions library is not...
View ArticleForum Etiquette 2024
This is just a reminder to please review the forum guidelines if you haven’t done so in a while. The main guideline is the first one: “Write posts and comments that make this forum a helpful and...
View ArticleXojo Resources, Lists and Links
Originally published at: Xojo Resources, Lists and Links – Xojo Programming Blog Xojo and the Xojo community are full of resources for beginners, pros and everyone in between. 2 posts - 1 participant...
View ArticleFastest way to create a listbox
I need to create a listbox with 10 columns and 26000 rows. Using the addrow function takes about 8 seconds. Is there a faster way to do this? Do if NumberOfItems > ListBoxItemsServer.RowCount then...
View ArticleNot showing a window when updating data on that window
In the app I’m building I have a main window that’s the primary end user interface. There is a second window, full screen, that only shows up if you select it from a menu, which gives you access to...
View ArticleHow to know the app name?
Hello all, Is there a way to find the App’s name programmatically? Thanks, Tim 5 posts - 4 participants Read full topic
View ArticleLoad VST or AU virtual instruments
I have a couple of MIDI apps which use available devices on the Mac to record and play MIDI. I have a number of virtual software instruments, AU and VST plugins which load into DAWs like Logic Pro or...
View ArticleDateTime issues / advices
Hello guys, Today I checked one of my console apps on one of the server and it seems that I found one weird issue on the date time side , it seems that the date is always 2001/01/01 00:33:44 But for...
View ArticleCan a constructor return Nil?
Hello, In a plugin, I declare a class. This class has a constructor that creates and initializes a certain number of data structures. Is there a method for returning Nil to Xojo if one of these...
View ArticleChange rectangle size but aligned to the bottom not top
I have a window showing the current state of some LEDs. I already have it set up using simple rectangles and a method that either turns the box above the label on or off depending on the state of the...
View ArticleHorizontal move in Scrollable Area
Is it possible to trigger horizontal movement in a ScrollableArea? I tried to apply a big image to a container inside the ScrollableArea, but I could invoke only a vertical move (in contrast to the...
View Article