REALbasic Developer Resources

LongTask Classes
Version 1.0

Download

A set of classes and a test application. Implements a thread that automatically pops up a progress dialog if the task takes more than a second or two. Includes utility functions for setting a Description line and an Info line in the progress dialog

Updated 26 Jan 2006 (Minor tweak: made CheckCancel class Public instead of Protected.)

REALbasic 5.x and later.

FREE

HTTPUploadSocket Demo
Version 1.2

Download

A demo application that uses a subclass of HTTPSocket to upload a file via the HTTP POST protocol to a PHP front end on the server side. Illustrates the correct way to encode the multipart form data so that more than one file can be uploaded. (Also uses the LongTask classes, above, to keep the user informed about the time remaining for the upload.) UPDATED: Rewritten to use sockets and threads placed on the window in the IDE, which is more efficient and which eliminates the need to create a subclass of LongTask.

REALbasic 5.5 and later

FREE

CSDictionary
Version 1.0

Download

A case-sensitive dictionary class. Works as a drop-in replacement for RB's build-in Dictionary class. Simply import this class into your project, and then replace "Dictionary" with "CSDictionary" in your code. After that, any String-type keys you use will be searched case-sensitively.

REALbasic 5.x and later.

FREE

EditCMM Class
Version 1.0

Download

A pre-built contextual menu that pops up the standard text edit commands (Copy, Cut, Paste, etc) when the user right- clicks on an EditText field. Use in an EditField's MouseDown event and pass Self as an argument to the constructor, like this:

    Dim eCMM as EditCMM
    eCMM = new EditCMM(Self)
    eCMM.Open
    return True

Instant and easy contextual menus for all your EditFields!

REALbasic 5.x and later.

FREE

LeakCheck Classes 2005
Version 1.1

Download

A pre-built object-tracking and memory-usage monitor window (floating window) that automatically watches the number of objects REALbasic is creating and keeping in memory, so you can more easily track down memory leaks. Features both an instant-update button and a continuous monitor mode with a variable refresh rate so that you can keep an eye on your memory consumption while you exercise your app. Full source code included, pure RB, no plugins required.

This release fixes an OutOfBoundsException bug.

REALbasic 2005 and later.

FREE