OKCancel Control

Bookmark this article!

True

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

Bookmark this article!

True

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...

Bookmark this article!

True

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,...

Bookmark this article!

True

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...

Bookmark this article!

True

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,...

Bookmark this article!

True

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...

Bookmark this article!

True

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...

Bookmark this article!

True

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...

Bookmark this article!

True

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...

Bookmark this article!

True

Convert Microsoft BASIC Format Real Numbers to IEEE Format 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