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
1
vote
3 answers

Delete a character from string realbasic

I have a virtual keyboard created in RealBasic. When I press letters, numbers I append it to a textfield all its ok but, how do I delete characters from that textfield from current cursor position when I press "Delete" button from virtual…
Mihai Totoianu
  • 41
  • 1
  • 1
  • 3
1
vote
1 answer

Need to figure out equivalent object in vb.net from real basic

I am trying to figure out what I can use in visual basic .net that would act similar to this http://docs.xojo.com/index.php/MemoryBlock Thank you
user2667690
  • 63
  • 1
  • 1
  • 3
1
vote
4 answers

XOJO simple file copy

Very basic thing I am trying to accomplish. A have a source of a file (image) stored as string (simple path). I want to copy that file to custom destination. to be more precise to a folder name image which is located in the application root. I have…
EnterpriseXL
  • 467
  • 8
  • 19
1
vote
3 answers

XOJO delete a record from SQLite database

I am using Xojo 2013 Version 1. I am trying to delete a record from a SQLite database. But I am failing miserably. Instead of deleting the record, it duplicates it for some reason. Here is the code that I use: command = "DELETE * from names where ID…
EnterpriseXL
  • 467
  • 8
  • 19
1
vote
1 answer

Try Catch statement realBasic

I am trying to wrap up simple statement within try catch. Problem is that all examples that I was able to find talk about the errors which are predefined. I need a generic error, similar to try/catch in C#.
EnterpriseXL
  • 467
  • 8
  • 19
1
vote
1 answer

Raw Line feeds in HTML source

I need to take some raw text and convert the linefeeds to HTML breaks. This does not work. myhtml=Replace(myhtml, chr(13), "
") What Does?
JVMX
  • 1,016
  • 2
  • 12
  • 23
1
vote
2 answers

How to create table in Word document open in OpenOffice using REALbasic on Mac OS

This code i used to create binary file: dim eFile as FolderItem dim output as BinaryStream eFile= GetSaveFolderItem("application/vnd.ms-word", "mydocument.doc") output.write "User Name: "+" User Name field"+chr(13) output.write "Website: "+"…
1
vote
1 answer

Realbasic substring contained in string

I'd like to know how can i find out if a substring is contained in another string? In VB.net I used to write something like: Dim s as string = textbox1.text if s.contains("http://youtube.com/watch?v=") //instructions end if Basically, this is…
1
vote
1 answer

Array manipulation in Real Studio

I am trying to do a few things with arrays in Real Studio, but can't seem to find anything about them in the documentation. The first thing is extracting subsets of multidimensional arrays: I want to make a new vector out of a piece of a column in a…
jennifer.cl
  • 205
  • 1
  • 2
  • 11
1
vote
1 answer

How can I tell if my code is running inside a Console or desktop application?

How can I tell whether my RealBasic code is running inside a Console or desktop application?
Cesco
  • 3,770
  • 7
  • 24
  • 26
0
votes
1 answer

FreeType error: FT_LOAD_GLYPH returns 140 with Brush Script MT font on MacOS

I have a program that utilizes the Freetype library to draw glyphs on screen. For some reason, FT_LOAD_GLYPH is returning a value of 140 when the Brush Script MT font file is loaded and the code is run on MacOS. The 140 error is described as "too…
Shem S
  • 1
  • 2
0
votes
0 answers

The next window is not being opened

var w as new Window2 w.show() self.close I am making a video game in Xojo. When I press the start button on the first window, I made it to change to next window with the code above. However, I kept trying the code but after the start button is…
0
votes
1 answer

Xojo HTMLviewer showing blank page for OAuth2.0 login

I'm trying to set up an OAuth2.0 flow for ORCID with Xojo. I found a sample project on github for Facebook and modified the code for the URL and ClientKey I set up with ORCID. When I use the same URL in Firefox it works perfectly, however when I try…
djoii
  • 1
  • 1
0
votes
1 answer

When an if case is true, it should run another if case

I'm programming in Xojo and I want my computer to first run an if case and if that case is true, it should run another if case. How can I do that with Xojo ?
0
votes
1 answer

Random Background change with programming languege xojo

I've tried to create a button with the programming languege xojo, so every time I press it the background color should randomly change. The name of my window is just Window1. I can't figure out how to do it, I would appreciate an example please, I…
1 2 3
8 9