(Example: +cartoon +desktops)
Advanced Search & Tips
See the Home Page side bar for links to more sections!
App Makeovers Desktop Pictures Icons MacOS X Mods Safari Stuff
Application Splashes Dock Poofs iTunes Skins MacOS X Themes Snapshots
Boot Images Download Stats Links Page Mouse Cursors Uploads
Boot Panels GUI Software Login Panels REALbasic User Forum
Clocks Home Page
Download a free demo of REALbasic!
Download a free demo of REALbasic!

Recent Articles...
3D
3D Photo Gallery Part 2 (12-06-01)
3D Photo Gallery Part 1 (11-29-01)

Audio
iPod Tricks (Part 1)
Laugh Track Machine
Audio Player with Reverb
Shepard Melody(11-08-01)
RB Phone Home (10-25-01)
Build a Drum Machine (10-04-01)

General RB
Hey! You got your Checkbox in my Listbox!
Background Applications (5-02-03)
Listbox Auto-Find
iTunes-style Listboxes
Virtual Volumes
Time Tracker
Software Distribution Part 4
Software Distribution Part 3
Software Distribution Part 2
Software Distribution Part 1
Exceptions
Custom Controls (8-2-01)
Living on the Edge (6-21-01)
Tips and Tricks (6-14-01)
Review of REALbasic 3.0 (2-19-01)
Text Clippings Made Easy (5-10-01)

Graphics
Image Spinner
Cropping Graphics (Part 4)
Cropping Graphics (Part 3)
Cropping Graphics (Part 2)
Cropping Graphics (Part 1)
Shimmer Graphics
Lissajous Figures
Simple Screen Capture
Vector Graphics
Kaleidoscope Images
Stegonography
Spirals!
Image Table (11-15-01)
RB Magnifying Lens (10-11-01)
Screen Capture (8-9-01)
Color Picker Tutorial (6-7-01)

Hacks
Ghost Grab
Speedy Mouse Extension(11-01-01)
iTunes Plugins (8-23-01)
iTunes Skinner (7-26-01)

Internet
HTML IMG Tags
Version Tracking
Even Smarter Instant Messaging
Web Tiler
JavaScript and REALbasic (10-02-01)
Stock Ticker - Part II (9-06-01)
Stock Ticker - Part I (8-30-01)
AIM Mate (8-16-01)

Mac OS X
Using Sheets in REALbasic
Build a Bundle Part 2
Build a Bundle Part 1
Dock Your Passwords
Mac OS X Debugging
REALbasic Mac OS X Icon Tutorial (12-13-01)
Animate Your Dock (5-17-01)
RB and the Command Line (5-3-01)

Novelty
Guessing Game
Calendar Trivia
Tile Mixer
Zip Code Finder
Happy Valentine's Day
Merlin Simulator Part 3 (01-24-02)
Merlin Simulator Part 2 (01-17-02)
Merlin Simulator Part 1 (01-10-02)
Buzzword Machine (10-18-01)
AppleSoft BASIC (9-20-01)

Printing
Print to PDF

Resources
Picture Extractor 2 (5-31-01)
Picture Extractor 1 (5-24-01)

Serial
Caller ID Part 3 (7-12-01)
Caller ID Part 2 (7-5-01)
Caller ID Part 1 (6-28-01)

Speech
Speech Recognition (9-13-01)
Video
Big Brother Video Capture

Newest Dev Tools!

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

Made with REALbasic!

Book Alert !
REALbasic the Definitive Guide
by Matt Neuburg

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

6-14-01

REALbasic Tips and Tricks by Erick Tejkowski

This week we are going to break from tradition. Instead of the usual tutorial, we will take a look at some useful REALbasic tips and tricks.

Tip 1

REALbasic, like any well-respected Mac app, makes interesting use of drag and drop. For example, you can drag a window (named Window1, for this example) from the the Project Window onto a PushButton in the Window Editor. When you release the mouse, the following code automatically appears in the Action Event of the PushButton:

Window2.Show

06-14_dragtip.jpg (22k)

Some other drag and drop functions you can use in REALbasic:

  • Drag pictures, sounds, AppleScripts, and REALbasic components directly into the Project Window.
  • Select some text in the Code Editor and drag it to the desktop. The code becomes a Text Clipping instantly. Drag it back into the Code Editor to reuse it later.
  • Drag code examples from the Language Reference (in REALbasic) directly into the Code Editor. Instant functionality - no typing required!
  • Normally you drag a control from the Toolbar to the Window Editor. Did you know that you can also drag controls to the Code Editor as well? When you do, the controls name appears in the Code Editor.


Tip 2

If you are the musical type, perhaps you have tried out the REALbasic NotePlayer. If so, you know that to play a note you supply a note number (between 0-127) and a volume (also 0-127), like so:

NotePlayer1.PlayNote(60, 127)

This code plays a note (Middle C) at full volume. To stop the note, simply play it again with a volume of zero:

NotePlayer1.PlayNote(60, 0)

If you spend any time at all working with the NotePlayer, you'll want quick access to the note names and their corresponding note numbers. Download a quick hack that you can keep on hand for easy access to all MIDI note numbers.


Tip 3

A good habit to get into: Carefully check for required hardware and software on a user's machine before attemping to use or access it. This typically involves using the Gestalt method of the Application Class (see the REALbasic Language Reference).

The Mac OS identifies a variety of system characteristics using a 4-letter code (for example, QuickTime uses "qtim"). GestLab is the best source around for discovering the codes and what they do. Make sure you check it out!


Tip 4

Do you spend a lot of time creating screenshots? Try using this simple MWRB app to cut down on the knuckle-busting screenshot key combinations in Mac OS 9.


Tip 5

Have you ever created a REALbasic interface and managed to cover every single pixel of the background window? It can be a real pain to reselect the window without inadvertantly selecting any other control. To avoid having to move controls around just so you may reselect the window, simply press shift when you click a control. This causes the control to become deselected and its parent window to be selected in the process.


Tip 6

If you use REALbasic to program for Windows, you'll appreciate this tip. Many MDI (multiple document interface) applications on Windows maximize the MDI frame window when launched. The MDI frame window is the parent window in which the applications windows open.

If you would like to maximize the MDI frame window when your application launches, insert the following code in the Open event of your application class:

dim result as integer
CONST SW_MAXIMIZE = 3

//This Declare statement goes all on one line!

Declare Function ShowWindow Lib "user32" Alias "ShowWindow" (ByVal hwnd As Integer, ByVal nCmdShow As Integer) As Integer Declare Function GetActiveWindow Lib "user32" Alias "GetActiveWindow" As Integer

result = ShowWindow(GetActiveWindow(), SW_MAXIMIZE)


6-12-01

REALbasic News by Erick Tejkowski

New REALbasic releases.. REAL Software announced two new releases in the past week. REALbasic 3.2.1 is primarily a bug fix release for REALbasic 3.2 users. REALbasic 3.5a1 is the latest pre-release version. It is meant only for those who like living on the edge.

Tiny Mascot...Big Features. Elfdata has been hard at work lately. They have two new REALbasic-made releases:

  • XML Editor 1.02 - "XML Editor is a clean, simple and powerful graphical XML editing tool."
  • XML Engine 2.0 - XML Engine is a set of REALbasic classes and modules, using my String Stuff plugin, that lets you parse, render, manipulate and analyse XML 1.0, and XML DTD.

Full Featured RB Database. Paradigma Software has released the latest version of their popular Valentina database (Version 1.8.9b1). It works with REALbasic, Director, Hypercard, and more.

Alfred, get the car ready... Alfred Van Hoek updated two of his REALbasic standards:

  • RB Plugin Plunger (version 2.3.1) - Fixes an important bug.
  • NavFolderItem (version 1.3) - Although it looks like REAL Software will be including full Navigation Services in the forthcoming RB 3.5, Alfred plans to continue his NavFolderItem development.
You can find these goodies and more on his web site.

Do you do Windows? Ken Schafer created an interesting code library called Window's Utilities. It's a Window's DLL that incorporates additional Windows functions for RB users. Some of the features include:

  • Enhanced ToolTips
  • WheelMouse Support
  • One Program Instance Support

This week in academia. REALbasic University has posted another great tutorial entitled: REALbasic Animation: Part I (written by By Marc Zeedar). This week they introduce sprites with a walking stick figure program. If you are looking for animation ideas, I suggest a stick-man Michael Coyle:

06-12_michaelrobot.jpg (2144bytes)



See the Home Page side bar for links to more sections!
App Makeovers Desktop Pictures Icons MacOS X Mods Safari Stuff
Application Splashes Dock Poofs iTunes Skins MacOS X Themes Snapshots
Boot Images Download Stats Links Page Mouse Cursors Uploads
Boot Panels GUI Software Login Panels REALbasic User Forum
Clocks Home Page

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] on the ResEx LinuxPPC Server