Questions tagged [xojo]

Xojo is a cross-platform development tool that creates apps for macOS, Windows, Linux, Raspberry Pi, iOS and the web.

The Xojo integrated development environment and programming language can be used to create apps for a wide variety of operating systems and technologies, including macOS, Windows, Linux, Raspberry Pi, iOS and the web.

Xojo uses an object-oriented programming language that creates compiled, native apps using LLVM. It features an integrated layout designer, code editor, debugger and more.

First released in 1998 as REALbasic for classic Mac OS, it has continued to be developed and updated over the years to become a popular and powerful cross-platform development tool while remaining true to its core values of being easy to learn and use.

Website: https://www.xojo.com/

122 questions
2
votes
2 answers

In Xojo, can a desktop app be converted to a web app?

I am basically using Xojo to rebuilding another program previously built in Visual Basic 6. My superior wants me to build this as a desktop app, because that is what the VB6 code originally was. After that, we are going to convert the desktop app to…
1
vote
2 answers

How To Update Xojo Objects From HTML/Javascript?

I am working on a Google map web application under Xojo. The map has a draggable marker that updates the values of latitude and longitude textboxes. Since the UI for mapping is entirely made with HTML/Javascript and shown through Xojo's…
John
  • 11
  • 1
1
vote
1 answer

VB.Net Parse JSON Array into Dictionary for Key:Value pairs to achieve same result as Xojo Code, (example)

I need to duplicate what I can do in Xojo in VB.Net. THis will be for custom Code on Kodak Rules Based Automation that uses embedded VB.Net. How do I make VB.net code do the same thing that the Xojo code I show below does. As much as I have searched…
TomD
  • 21
  • 3
1
vote
1 answer

Launch multiple HTMLViewer Controls isolated

I'd like to launch multiple HTMLViewer controls. Each should be manage its own cookie storage. If HTMLViewer_1 is already logged in on a site, e.g. HTMLViewer_2 should be able to log in using another role. Q: How to I isolate HTMLViewer instances…
SteAp
  • 11,853
  • 10
  • 53
  • 88
1
vote
1 answer

Swift Process() and Xojo Shell

A question for someone who speaks both Swift and Xojo… As shell objects in Xojo can be run both synchronously and asynchronously, how can a Swift Process() be run the same way? With Xojo I can run a shell and respond accordingly when data is…
psb
  • 89
  • 5
1
vote
1 answer

FASTEST way to find and count files recursively in a directory

I'm building a small program to compare file contents of two directories. These directories SHOULD mirror each other but that may not be the case if someone forgot to copy files to the second directory. So this program will check to see if all of…
Michael
  • 111
  • 7
1
vote
1 answer

Translating JS crypto.createHmac to Xojo Crypto.HMAC

I am trying to translate this block in Javascript: const crypto = require('crypto'), shared_key = 'kw4qSnpSwXzgiv5yxYpZZmFEd9QAeiKTQ6OuyMja', signing_string = 'licenseSpring\ndate: Tue, 07 Jun 2011 20:51:35 GMT'; let signature =…
AdamG
  • 2,570
  • 3
  • 24
  • 35
1
vote
1 answer

Xojo Type mismatch error. Expected String, but got Boolean

(I started learning about arrays today.) Edit: I realized the = is apperently causing the error because it's seen as a "compare if equal" vs "assign this". i don't see which part in the referenced line is causing the error: 'Option 1 Var…
Moirae
  • 21
  • 6
1
vote
0 answers

is there a method in xojo to not duplicate the same rows?

i did this grid in xojo, the problem is that it duplicates me the same rows as before even if I go out and back, that's the original table with only 3 records: first screenshot then i made a method to add rows: Dim i As Integer Dim v As String Dim…
1
vote
2 answers

Problems creating a temporary table in mysql

I want to create a stored procedure in Mysql that removes a certain temporary table (if it exists) and then creates this temporary table in the database 'prs1'. The procedure that I have created is this: CREATE PROCEDURE…
Wardiam
  • 127
  • 7
1
vote
2 answers

Can someone unpack this very terse Java function into a more verbose example?

I'm trying to port this Java tutorial to Xojo. I'm struggling to unpack the Set function below because, whilst short and elegant, it crams a lot of conversions into a small space and I'm not sure if I'm understanding it correctly. It's difficult as…
Garry Pettet
  • 8,096
  • 22
  • 65
  • 103
1
vote
1 answer

When in a conditional does this assignment occur?

I am porting some Java code to Xojo which doesn't have the same language constructs as Java does. I have a bug in the port and I think I've narrowed it down to this bit of Java code: int maxIndex = 0; int n = vertices.length; // vertices is an…
Garry Pettet
  • 8,096
  • 22
  • 65
  • 103
1
vote
0 answers

Leaflet dragging display issue

I have an application which displays several layers on a Leaflet map. I create GeoJSONS from a database, then create layers from those GeoJSON and then i put my layers on LayerGroups. On zoom/dezoom, i add or remove layers from their group to show…
amar
  • 11
  • 2
1
vote
1 answer

How does Xojo UI rendering for desktop work?

I was wondering if anyone could provide information about how Xojo renders UI for the desktop? Is Xojo using bindings to make OS specific UI controls available (much like wxWindows)? Or has Xojo custom implementations of all UI controls (much like…
gevik
  • 3,177
  • 4
  • 25
  • 28
1
vote
1 answer

json issues with Arduino and Xojo

I'm making an application with xojo where you set the value of 3 sliders, which send the values as strings with json through the serial monitor, and I'm receiving the json values with Arduino to move the 3 servomotors by the slider value. I tried…
Milo_666
  • 121
  • 3
1 2
3
8 9