UltraUpdater 1.0 Now Available
March 18th, 2010, by Paul Lefebvre in Controls, Source Code, User Interface
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
OKCancel Control
November 6th, 2009, by Paul Lefebvre in Controls, Source Code
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
CallByName Function
September 9th, 2009, by Paul Lefebvre in General, Source Code, Tutorial, Visual Basic
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
October 16th, 2008, by Paul Lefebvre in ResExcellence, Source Code
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
October 16th, 2008, by Paul Lefebvre in ResExcellence, Source Code
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
February 8th, 2008, by Paul Lefebvre in General, Open Source, Source 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
January 20th, 2008, by Paul Lefebvre in RBScript, Source Code
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
January 6th, 2008, by Paul Lefebvre in ResExcellence, Source Code, User Interface
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...
NumberField Control
December 6th, 2007, by Paul Lefebvre in Controls, Source Code
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...
Convert Microsoft BASIC Format Real Numbers to IEEE Format
December 6th, 2007, by Paul Lefebvre in Math, Source Code
A fellow REALbasic developer, Roger Oren, was kind enough to share this code to the REALbasic community. This code is a REALbasic module that converts the Microsoft BASIC Format real numbers into IEEE format real numbers (and back). It runs on all platforms. Download Convert MS BASIC Format REAL Numbers...

« Previous Entries