Difference between SQLiteDatabase and ODBCDatabase
I have XOJO 2023 R4 on macOS 14.4 . I have two databases with an identical structure: an SQLite DB and an MSSQL DB. When I work with the SQLite database and want to read a record that does not exist,...
View ArticleClient reports XojoGUIFramework64.dll Error
I have a client that reports the following. He has 4 programs of mine, all built with Xojo within the last month, very similar in nature. This is on Win11. One of them opens up. The rest crash, crash...
View ArticleWeb app shutdown messages ("copying shared history" etc.)
I just noticed in the Mac terminal that if I terminate a web app (and probably console apps) by hitting Control-C, there is a quick sequence of messages displayed when the app shuts down: Saving...
View ArticleTraffic light buttons
macOS Sonoma, 2023r4. I have a resizeable DesktopWindow for which in the IDE I have turned off the three traffic-light buttons. But they still appear in the app, but greyed out. If I turn off...
View ArticleExternal Method Platform specific
Hi guys. I’d like to define external method in order to simplify the code and make it platform specific. Right now I’m using a constant where I defined library path for Windows and for MacOS an inline...
View ArticleDesktopMenuItem missing a function maybe
MenuItem has the following 2 functions: While DesktopMenuItem only has: So how are we supposed to replace the Remove function ? There is not even function to get index from MenuItem. 3 posts - 2...
View ArticleRest server – How to
I try to understand how build a Rest server with Xojo, I have very little experience with REST server. So I am looking for some example on how to do. I found two framework: Express from: GitHub -...
View ArticleDesktopListBox.ScrollPosition will not reset if HasVerticalScrollBar=False
I was hunting an issue in my App, where the Content of ListBoxes suddenly was missing, but the Debugger revealed that the Content was there. It was just not visible anymore. After trying everything...
View ArticleGet app approved by Google
To do OAuth with Gmail I have to get my app approved by Google. As always the docs are about as clear as mud. I have done the first step “Publish app”. But where do I find “Prepare for verification”?...
View ArticleWebPopupMenu: how do I control height of the drop list?
I need some help with WebPopupMenu control in latest Xojo 2023r4. I would like get the vertical scrollbar visible if number of entries in the WebPopupMenu is beyond say 20 entries. Currently the drop...
View ArticleDesktopPopupMenu issue
When using the DesktopPopupMenu.SelectRowWithText method and the string is not found, an Exception is thrown. Wouldn’t it be better to let it return a boolean if it found the string or not? Now you...
View ArticleSystem.Microseconds vs DateTime.Nanoseconds
My app does MIDI playback of events and I’ve been using System.Microseconds for recording, playback, and timestamps. DateTime objects are supposed to have Nanosecond precision, so theoretically I’d be...
View Article[ANN] xDev Magazine Releases Issue 22.2 (March/April 2024)
March 2024 – xDev Magazine is pleased to announce the release of our newest issue, now available in PDF and print formats! The March/April 2024 (22.2) issue features articles on Apple’s Vision Pro,...
View ArticleThe MenuBarSelected event handler - firing when it shouldn't
This event handler is intended so that one can enable/disable menu items based on the app state when a main menubar menu is selected. However, it seems that if I cause any contextual menu to want to...
View ArticleTree Views
I’ve been trying to build a nice tree view for my application. I started with a listbox, but never felt it was very good at doing what i needed to do without some customization. because of this i...
View ArticleWould Xojo work with Arduino boards?
I’d like to experiment programming an Arduino device, something I never tried (so I’m posting in Getting Started). I’ve searched in this forum for whether Xojo works with Arduino; I know Raspberry is...
View ArticleDrag an drop a document on the app's icon
Dragging and dropping a file (or several files) onto my app’s icon *** in the Dock *** does work, whereas it would not on my (unopened) app’s icon *** in a Finder window ***. What am I missing ? My...
View ArticleiOS: how to save text file and prevent deletion on app update?
I can save a config text file with the following code, however the file is deleted with each update of the app. I need to be able to export a text file with config information outside of the standard...
View ArticleDate formats
Is there a way to get the date from this string 2024-03-18T21:57:20-04:00 3 posts - 3 participants Read full topic
View ArticleAndroid simulator not running
Trying out my first android app, but the simulator is not running. Xojo compiles the app for a while and the Android simulator opens up, then Xojo stops running and goes out of running mode. The...
View Article