UltraUpdater 1.0 Now Available
UltraUpdater adds auto-update capability to your REAL Studio applications with only 2 lines of code!
Check it out here:
http://www.rbdevzone.com/ultraupdater/
OKCancel Control
If you’re striving for a nice cross-platform UI, one of the things you need to consider is the placement of OK and Cancel buttons on your windows.
On Mac OS X, these buttons are in this order: Cancel, OK
On Windows and Linux, these buttons are: OK, Cancel
I’ve put together a quick control...
CallByName Function
A post in the REAL Software forums asked if REALbasic has a CallByName function like VB has. After reviewing my answer and the CallByName function in VB, I am presenting a more thorough solution here.
First, REALbasic does not have CallByName. However, it does have Introspection (aka reflection) which...
Guessing Game
by Erick Tejkowski
Did you know that your computer can read minds? This week we’ll witness its extraordinary mind-reading powers by creating a simple REALbasic project. See if you can figure out how it works before looking at the code!
Downloads
Because the code for this demo is drop-dead simple,...
Image Spinner
by Erick Tejkowski
One of the most frequently asked questions among REALbasic lists is “How do I rotate an image?” This project will show you how to quickly and easily rotate an image in realtime. The REALbasic Group2D class simplifies matters significantly for us. By dragging a few items...
RegCode now available at Google Code
Not that anyone has ever submitted changes to RegCode, our open-source registration code generator, but I have greated a Google Code page for it:
regcode.googlecode.com
By using Google Code, RegCode is now in a nice Subversion repository, which anyone case download (if you’re interested in contributing,...
Creating an Eval function using RBScript
On the REAL Software forums, someone posted a question about Eval functionality in REALbasic. In other languages, the Eval function is used to evaluate expressions. REALbasic doesn’t have a direct equivalent, but it does have RBScript which allows you to write and run your own code within your...
CGS Private Functions
by Seth Willits
Mac OS X is full of private APIs available only to Apple to use in their own software and the operating system. Clever developers, much more knowledgeable than I, have been able to reverse engineer some of these APIs and do some neat things with them. I was fiddling with the CGSPrivate...
OS X Style Preferences 3
Things have changed considerably in REALbasic over the years. When the 2nd version of this article came out in December of 2005, the REALbasic IDE had been rewritten to use the newer, modern interface and Carbon applications were still the rage for most Mac OS X applications. I will admit that the...
NumberField Control
NumberField is a subclass of EditField that allows the user to only type numbers. To use it, import the NumberField.rbo control into your project and then drag it to a window (you’ll find it in the Project Controls section of the control list). There is only one property, which you can modify...
