Google
ResExcellence www
Download a free demo of REALbasic!
Download a free demo of REALbasic!
Recent Articles...
3D
3D Photo Gallery (Part 1)
3D Photo Gallery (Part 2)

Audio
iPod Tricks (Part 1)
iPod Tricks (Part 2)
iPod Tricks (Part 3)
Laugh Track Machine
Audio Player with Reverb
Shepard Melody
RB Phone Home
Build a Drum Machine

Custom Controls
Custom Buttons
Custom Buttons Part II
iTunes-style Listboxes
Custom Controls

General RB
Wiggle Window
JPEG in PDF
Hey! You got your Checkbox in my Listbox!
Background Applications
Listbox Auto-Find
Virtual Volumes
Time Tracker
Software Distribution (Part 1)
Software Distribution (Part 2)
Software Distribution (Part 3)
Software Distribution (Part 4)
Exceptions
Living on the Edge
Tips and Tricks
Review of REALbasic 3.0
Text Clippings Made Easy

Graphics
The SpriteSurface: Space Game
Image Spinner
Cropping Graphics (Part 1)
Cropping Graphics (Part 2)
Cropping Graphics (Part 3)
Cropping Graphics (Part 4)
Shimmer Graphics
Lissajous Figures
Simple Screen Capture
Vector Graphics
Kaleidoscope Images
Stegonography
Spirals!
Image Table
RB Magnifying Lens
Screen Capture
Color Picker Tutorial

Hacks
Ghost Grab
Speedy Mouse Extension
iTunes Plugins
iTunes Skinner

Internet
Display Web Image In Canvas
HTML IMG Tags
Version Tracking
Even Smarter Instant Messaging
Web Tiler
JavaScript and REALbasic
Stock Ticker (Part I)
Stock Ticker (Part 2)
AIM Mate

Mac OS X
Using Sheets in REALbasic
Build a Bundle (Part 1)
Build a Bundle (Part 2)
Dock Your Passwords
Mac OS X Debugging
REALbasic Mac OS X Icon Tutorial
Animate Your Dock
RB and the Command Line

Menus
Templates Menu
Listbox Menu

Novelty
Guessing Game
Calendar Trivia
Tile Mixer
Zip Code Finder
Happy Valentine's Day
Merlin Simulator (Part 1)
Merlin Simulator (Part 2)
Merlin Simulator (Part 3)
Buzzword Machine
AppleSoft BASIC

Printing
Print to PDF

Registration
Registration Code Validation
Network Registration Codes

Resources
Picture Extractor (Part 1)
Picture Extractor (Part 2)

Serial
Caller ID (Part 1)
Caller ID (Part 2)
Caller ID (Part 3)

Speech
Speech Recognition

Video
Big Brother Video Capture

resexc2.gif (20k)

Newest Dev Tools!




Book Alert !
REALbasic for Dummies
by Erick Tejkowski
$19.99 @ Amazon

Made with REALbasic!
[an error occurred while processing this directive]

Problems?
Downloads are in StuffIt 5 format (free download).
Tell me about a bad link (Thanks!).
Submission Policy

6-4-03

REALbasic News by Erick Tejkowsi

RealCADD
RealCADD 3.05 is now available for download. RealCADD is a professional 2D CAD software, easy to use but with many features and a shareware price. RealCADD is Made with REALBasic and is available for Mac OS 9, Mac OS X and Windows.

ElfData plugin 1.0b5
The ElfData plugin has been updated to 1.0b5. Version History:

  • Totally re-did the technical reference, now comes from XML source and uses a generating application.
  • FastString.GetResult now has an "InheritFrom as ElfData" parameter.
  • Fixed an obscure bug in .fUTF where we could get a fBigEndian = false with UTF8 or Binary!
  • Clarified functionality, by replacing ElfData.UpperCaseM with ElfData.UpperCaseL.
  • Implemented the Lexer API! Now other plugin authors can write lexer plugins for the ElfData plugin. (A plugin to a plugin, basically).
  • Updated the tests to make sure the bugs found don't come back. Update the tests and documentation to reflect the changes listed.
  • Wrote the "ASCII Insensitive" lexer "plugin plugin" and bundled it.
  • Remove ElfDataCentral.NewIsFast to improve simplicity.

Flash Plug-in
Michio Ono has updated his Flash plugin to be compatible with REALbasic 5.x. Don't miss the many other REALbasic plugins he has to offer. Lots of cool stuff here!

REALbasic Developer on Amazon
Now REALbasic Developer magazine is available for purchase on Amazon. This magazine (for which I work on the Editorial Board) is a great resource for REALbasic programmers. The entire magazine is devoted only to REALbasic and there are many fine authors. Check it out!

DoubleSlider
DoubleSlider is a MacOSX-only REALbasic 4.0-and-higher plugin and implements the HiSlider, DoubleSlider and TripleSlider controls, which can live on composited and non-composited windows. The controls provide slider bars with one, two and three thumbs and can be customized by setting flags in design time or in runtime. The sliders are in it self customized OSX-controls using the HIToolbox API that was introduced with Jaguar. Users of this plugin should be aware that Jaguar (OSX 10.2.x) is the minimum requirement.


5-30-03

Hey! You got your Checkbox in my Listbox! by Erick Tejkowsi

Someone on the REALbasic NUG email lists today wanted to know how to use checkboxes in a Listbox control. To help him out, this week's tutorial will show you how to display checkboxes in a listbox and how to find out if a particular checkbox is checked or not.

Build the Interface
Fire up REALbasic and add a Listbox, an Editfield, and a Pushbutton to Window1. You can arrange the interface however you want, but mine looks like this: (note - the Listbox is on top)

5-30-03_img1.jpg (18k)

Add the Code
The code for this example looks like most Listbox code, with a few exceptions. First, we'll designate our Listbox as having three columns that display headings. Then, we need to assign a type to each column using the columnType property. There are a few choices:

  • 0 - default
  • 1 - text
  • 2 - checkbox
  • 3 - editable text
We'll set the first column (i.e. column 0) as a checkbox, the second column as non-editable text, and the third column as editable text. Finally, we populate the Listbox with some dummy values just to demonstrate how this all works. Use the cellCheck property to set the initial value of each checkbox. The cellCheck property requires two parameters: a row and a column (just like the Cell property). Stick the following code in the Open event of Listbox1.

To find out if a checkbox is checked or not, all you have to do is look at the Boolean value of cellCheck. Place the following code in the Action event of PushButton1. It loops through each row in the Listbox and grabs that row's name column if its checkbox is checked.

That's all there is to it. Run the project and click some of the chechboxes in the Listbox. Then, click the Pushbutton to see what happens. Simple, eh? Here's what the final result looks like:

5-30-03_img2.jpg (26k)

Conclusion
You can download the code for this week's project here. See you next week!


5-21-03

REALbasic News by Erick Tejkowsi

RBColorWell and DrawingCanvas
Domain Softworx announced the release of RBColorWell, a Canvas-based control that simulates Cocoa's ColorWell control, and DrawingCanvas, a control that supports basic bitmap drawing features. REALbasic itself uses ColorWells in its Preferences dialog, for example. They appear as a BevelButton with a rectangle of the currently selected color over it. RBColorWell fires a ColorChanged event when the user selects a new color. DrawingCanvas uses a class interface to create drawing capabilities with shapes like rectangles, ovals and freehand drawing. You can download both here.

RB3DCullSpace class
The RB3DCullSpace class is used in place of RB3DSpace to gain per-object view (frustum) culling with a minimum amount of setup. View culling only makes sense for 3D scenes where some (perhaps most) of the objects are out of view most of the time, but can dramatically decrease the time required to draw a frame in those cases. Version 0.2 represents a major code clean-up, several optimizations, and bug fixes over the initial release. Please see the readme file available at the link above for specific changes. All source code is open and free to use for any purpose. If you're still reading this entry, RB3DCullSpace v0.2 is available here.

ControlSplitter 1.0
Realmac Software announced the availability of ControlSplitter 1.0. ControlSplitter is a canvas control for REALbasic, it functions as a window splitter control. It divides up your window into sections and allows these sections to be resized by the user. Just like Apple's Mail app. ControlSplitter can give your REALbasic application that professional cocoa look, unlike other Window Splitter controls available for RB, ControlSplitter works in real time, letting you see the controls live resize. ControlSplitter also offer to different looks for the splitter handle. Visit the Realmac Software website today to find out more and download your free trial copy:

FlattenOSX headers and Generation of Stubs to framework
Alfred Van Hoek has posted the second major release of a tool that not only copies and flattens OSX-header files, but also to generate Library stubs to the system frameworks you link against when implementing e.g. CoreGraphics. Please be aware that the flattening takes about 5 minutes, but it is done in a thread. You would check the Add all frameworks checkbox, the hidden files checkbox and the MSL... checkbox. The latter will throw a nav dialog, asking for the MSL folder. You then hit Flatten to initiate the process. An EditField will indicate what is going on during the flattening. Once done you would like to open a CodeWarrior Project File. Currently a CW-6 and CW-7 is provided. it shouldn't be that difficult to change this to other project versions.


5-14-03

REALbasic News by Erick Tejkowsi

RezLib Interfaces
If you need to change the resolution, alter the color depth, or muck with gamma levels of the monitor in your application, check out the RezLib Interfaces. Frank Condello wrote this handy piece of REALbasic code that lets you use a lot of the great functions located in the popular RezLib shared library. It works with Mac OS 9 and X.

Pref Pane Example
Josha Chapman-Dodson made a pref pane example for REALbasic 5.x. You can download it here. Pretty cool, eh?

Arrow Code
Seth Willits has posted a nifty code example for drawing arrows in REALbasic. Don't miss it!

TMSPrefs 1.0b2
Too Much Space has announced TMSPrefs 1.0b2 for REALbasic. TMSPrefs is a custom implementation of the MacOS CFPropertyList and CFPreferences Classes. TMSPrefs is compatible with all build platforms supported by REALbasic. and is available here.

Weblog Poster 1.3
This week the La Jolla Underground announced Weblog Poster 1.3, a tool for publishing to a weblog. Weblog Poster publishes messages to a weblog that supports either the Blogger API or the MetaWeblog API. Weblog Poster has been tested with Radio UserLand (http://radio.userland.com), Movable Type (http://movabletype.org), and Blogger (http://www.blogger.com).

YFrame
YFrame is a REALbasic code template for document-centric applications. It is designed for MacOS X, but should be compatible with MacOS 9 (and, partially, with Windows). YFrame provides the following features and functionality: a fully implemented Undo system, built-in support for reading and saving Preferences, using a Toolbar control under MacOS X and a TabPanel under MacOS 9, Camino-style exception handling within the application, a Help menu that includes links to the application's home page, and tons more. YFrame is documented using the REALbasic "Notes" feature.


resexc1.gif (8k)

Maintained by the Staff of ResExcellence. This entire site ©1997-2003 ResExcellence
Privacy Statement? Sure we gotta Privacy Statement.

[an error occurred while processing this directive]

[an error occurred while processing this directive]on the ResEx LinuxPPC Server