Quantcast
Channel: Xojo Programming Forum - Latest topics

Changing a listbox textfield to date

Silly question. Probably really simple but I can’t find the answer I wish to compare two dates. Here is the code var d1, d2 as Double d2 = DateTimePicker1.SelectedDate.SecondsFrom1970 //when do I want...

View Article


Introducing AtomicIntegerMBS: Thread-Safe Integer Operations in Xojo

With the release of MBS Xojo Plugins version 25.2, developers now have access to a powerful new class for multithreaded programming: AtomicIntegerMBS. This class brings low-level atomic operations...

View Article


GridFS with MongoDB

The MBS Xojo MongoDB Plugin got GridFS functionality in the last release. It allows you to store files in a MongoDB database. Internally the files are stored in two tables, one with the file list and...

View Article

Shell.Close triggers the Completed event

In the Shell documentation, it is written that call close triggers the Completed event. It does not, launch the attached project “CopiWithShell.xojo_binary_project” and select a big file (or a big...

View Article

Get Mimetype

The Mimetype method of the FileType class seems to be a way to specify which file types your app uses. But can it be used to read in the mimetype of a file? i.e. If I use FolderItem with a .txt file I...

View Article


countFields bug?

Hi… I’m really not understanding if i’m doing some big mistake, or something is really wrong… this is my code: Dim totalLinhas As Integer totalLinhas = texto.CountFields(EndOfLine) i’m getting...

View Article

Image may be NSFW.
Clik here to view.

Trim() question!

Hi Based on documentation: if my texto has, for exemple: " mytext" // with spaces on left or " mytext" // with tab on left my line of code should remove any tabs or spaces on left and right of a line,...

View Article

Listbox loses selections

OK - had a couple - but this has me stumped. I’ve searched everywhere I can think of, but no joy (so forgive what, to me, is a very “beginner” question. First time I’ve set a listbox for “multiple...

View Article


Image may be NSFW.
Clik here to view.

HTMLViewer renders page differently in Windows

Windows 11 Xojo 2024 R2.1 The HTMLViewer render this page perfectly when I run it on MacOS but when I run the same app on Windows 11 it looks terrible. It does however look perfect when launched in...

View Article


MBS Plugins 25.3 pre-releases

Hello, in this thread I want to post to you what’s new in 25.3 prerelease plugins. Download here: monkeybreadsoftware.de/xojo/download/plugin/Prerelease/ or from Dropbox or ask (in private message or...

View Article

Webdialog.parent = nil

Hi all, Quite new to web - and there are probably more clever ways of doing what I need, but I thought the .parent property of webdialogs would be a useful starting point, but it always returns nil… I...

View Article

Image may be NSFW.
Clik here to view.

New web control collection

In the spirit of iOSDesignExtensions and AndroidDesignExtensions, I’m starting a new XojoWebExtensions Github repo for free extensions & controls for the Web 2.0 framework. The first control in...

View Article

Looking for full-time Xojo job

Hello everyone, after 13 years working for a single company and having planned, designed and created a full cross platform ERP system fully written in Xojo and with amazing capabilities, I am now...

View Article


Scrolling canvas

I have a canvas in which some objects are drawn. As soon as the drawing of the objects nears the right of the canvas I want to scroll the canvas to the left, one pixel at a time (in code that is). I...

View Article

Smart Search

I had this crazy idea… …to figure out a way to search in a smarter way. Not just searching for exact text. Sometimes I use ChatGPT (or some other LLM), to find information in large documents or...

View Article


Image drop issue

I have canvas accepting image drops however I ran into to some issues. I was testing it out and all is good until I drop a text file on it and it crashed with no error message. This happened while...

View Article

StoreKit2

@Christian_Schmitz Does MBS support StoreKit 2 for MacOS? My previous use of AppReceiptVerificatorMBS and .exitApp(173) seems to have been deprecated by Apple. 3 posts - 2 participants Read full topic

View Article


App Design - Providing Default Values

Always appreciate all the help everyone gives here! What’s the best way to provide default values, including multi-column data? My app has default values for properties, but also tabular data. When...

View Article

Permissions strings don't work

No matter what I try, the app does not ask for permission, and the app did not list permissions when I long-pressed and selected App Info to view permissions. MANAGE_EXTERNAL_STORAGE...

View Article

Android Run fails - STOP versus closing ADB window

I am using the following stack: Xojo 2024r2.1 Windows 10 & Windows 11 Android Studio v 2022.3.1.19 I clicked Run and found out that ADB (Android Debug Bridge) was hanging and noticed a difference...

View Article

Web 2.0 Google Like Search

Anyone have code for a google like text box search in Web 2.0? 1 post - 1 participant Read full topic

View Article


Getting unique IDs / inodes for files

I need to get hold of unique and persistent identifiers for a set of files. I know that the command ls -i in the terminal brings back the inode and file name for each file in a folder. Is there a way...

View Article


How to run external commands on Android

As the title suggests, how to call other programs on Android, such as an app or a Python script program, in xojo. Just like the shell in Desktop. 2 posts - 2 participants Read full topic

View Article

Web Navigation

I’ve been spending a lot of time in the documentation and this forum and still can’t get this to work. I have a weblistbox that will navigate to a detail page if the user clicks a button to view...

View Article

Image may be NSFW.
Clik here to view.

Xojo2025R1: WebChart pie not working correctly

There is something wrong with the pie chart, it shows properly for the first time but then when trying to reset the data the graph changes to this: Now thinking of it, the code does this:...

View Article


Colorize a PNG with transparency

This should be very simple, but lack of mask in android pictures is killing me. There are declares on other platforms. On all our other platforms I could make it a black and white image and use it as...

View Article

Container locking oddness

I don’t even know how to ask this. If I create a custom control with a mobileContainer there seems to be some bad/unpredictable behavior if I lock or unlock various sides. I understand how these are...

View Article

PDF generation status using UTF8

I use reports quite intensively in my projects. It is important for me to use Polish special characters and it is not a problem when printing. If I want a PDF document, I simply capture the moment of...

View Article

Window. top different in Mac and Linux

How do you get a Window to open exactly on top of another? Not that I want to but getting this consistent is the basis for positioning a new Window correctly. window2.top = window1.top Mac - it...

View Article



An application built with 2024r3.1 cannot be launched on Mac OS Sonoma 14.5

Dear Xojo Developers, Hello. When I try to launch an application built with Xojo version 2024r3.1 on Mac OS Sonoma 14.5, a dialog box appears saying “Application xxx.app cannot be opened” and the...

View Article