Questions tagged [realbasic]

REALbasic is an object-oriented version of the BASIC language intended for cross-platform development.

REALbasic is a strongly-typed, object-oriented version of the BASIC programming language whose flagship feature is probably its rich support for cross-platform application development. It supports Microsoft Windows, Mac OS X, most 32-bit versions of Linux, and web applications.

It was developed and is currently marketed commercially by Xojo of Austin, Texas. Versions since 2013 have been called Xojo.

The language supports single inheritance and interfaces, class methods and properties, automatic memory management via reference counting, operator overloading, delegates, introspection, and namespaces. The built-in framework also offers an extensive set of functionality, which helps to make rapid application development possible.

The primary development environment for REALbasic is REAL Studio, marketed by the same company.

106 questions
2
votes
5 answers

Dev Platform of choice for Windows and OS X desktop apps

I'm about to write a small desktop app that should run on Windows and Mac OS X mainly. The choices I have so far are: I usually use Java + Swing for this type of stuff, but this app should be really tiny (about 1Mb) and I don't want to embed the…
Ammar
  • 1,148
  • 9
  • 15
2
votes
1 answer

Using authentication with Proxy

Sorry for the double post: a friend of mine asked this on the mailing list but no one answered. I would like to know how to correctly use the ProxyAuthenticationRequired event of an HTTPSocket. I mean, how can I pass the login/password if the proxy…
matteo
  • 147
  • 1
  • 1
  • 9
1
vote
2 answers

Realstudio (2011 4.2) Date in Milliseconds

In my project I communicate with a Microsoft SQL-Database where I have a column with DATETIMEs. The date-information in the database is with Milliseconds, that's very important, like 2012-03-03 12:00:00.364 In Java, for example, it's no problem to…
1
vote
1 answer

Enum in realstudio

Please, tell me - how to create an enum in RealStudio( I'm pretty new in this area ). I want to create enum in the global scope for application, and can't find tutorial how to do this(((
kaa
  • 1,265
  • 5
  • 22
  • 39
1
vote
2 answers

In RealStudio, how can I intercept pasting of rich text?

I'm trying to create a simple text field for WYSIWYG editing. However, I only want to allow certain types of formatting (e.g. Bold, Italic, Underline and a single heading type but no colors or different fonts.) The issue is if I use an editor…
Mark A. Donohoe
  • 28,442
  • 25
  • 137
  • 286
1
vote
1 answer

REALBasic - Programmatically create controls

i'm tring to create some label programmatically, the code doesn't return any error but i cannot see any label in my window. dim dr As DatabaseRecord dim sql As String sql = "SELECT * FROM pack WHERE applicabilita_modello LIKE '%" + versione +…
Marco Faion
  • 607
  • 3
  • 14
  • 23
1
vote
1 answer

How to draw on screen using RealBasic, Visual basic? Where i have one default laptop screen and second monitor

I have my laptop default screen and second screen. How can I write RealBasic, VisualBasic (Java not possible) application which can allow me to paint on desktop (both screen)?
user285594
1
vote
2 answers

Embedding simple terminal/console in RealBasic

I have a shell command that I am running in a RealBasic App, and until now I've just been reading the output, but it requires user input. Is there something I could use to embed something like a terminal or a console application that could run a…
None
  • 3,875
  • 7
  • 43
  • 67
1
vote
2 answers

Send multiple parameters with apple event

I am trying to send an apple event to an application we have developed. I want to be able to call the apple event, and at the same time pass parameters with the event. eg acctid, acctpassword, order number. I'm not sure how to format the apple event…
Stephen Baugh
  • 673
  • 1
  • 9
  • 24
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
2 answers

Why does Real Studio Break on the Catch of an Exception?

I have a try-catch block like this: Try Listbox1.RemoveRow(Listbox1.ListIndex) Catch err As OutOfBoundsException MsgBox("Derp") End Try When I run my project in the debugger I get an OutOfBoundsException on the exact line I was trying to catch!…
None
  • 3,875
  • 7
  • 43
  • 67
1
vote
2 answers

Xojo MacOs Vs. Windows? EndOFLine issue

So I created a program on Xojo(MacOS) that parses paragraphs using EndofLine. However, when I run it on a Windows operating system it doesn't parse it at all. Does Window operating systems recognize EndofLine or Chr(10)+Chr(13) in Xojo?
Ayah Al-Harthy
  • 103
  • 1
  • 9
1
vote
2 answers

RegisterWaitForSingleObject To Watch a Directory using RealBasic

I'm trying to watch a directory for changes using the FindFirstChangeNotification function. This works if I take the handle returned by FindFirstChangeNotification and stuff it into WaitForSingleObject. The problem is that WaitForSingleObject blocks…
Andrew Lambert
  • 1,869
  • 1
  • 17
  • 31
1
vote
1 answer

Need regex to locate c++ namespace declarations with unknown names

I'm trying to understand open source c++ code and I need a way to create a list of all the declared namespaces. I'm writing my code in Xojo (realbasic) with has built-in regex handling. My problem is I'm not familiar enough with regular expressions…
Bryan Dunphy
  • 799
  • 1
  • 10
  • 22
1
vote
2 answers

REALBasic Questions

In REALBasic, how do I loop through all of the objects in Window1? Is there some array property of Window1 with all of its children? Also, how do you set custom properties of objects: e.g. Me.isFlamingo = true Thanks in advance!
Leticia Meyer
  • 167
  • 1
  • 3
  • 10