Cover image for Learning REALbasic through applications
Title:
Learning REALbasic through applications
Author:
Crooks, Clayton E.
Personal Author:
Edition:
First edition.
Publication Information:
Hingham, Mass. : Charles River Media, [2002]

©2002
Physical Description:
xix, 348 pages : illustrations ; 24 cm + 1 CD-ROM (4 3/4 in.)
General Note:
Includes index.
Language:
English
ISBN:
9781584502067
Format :
Book

Available:*

Library
Call Number
Material Type
Home Location
Status
Central Library QA76.8.M3 C84 2002 Book and Software Set Central Closed Stacks
Searching...

On Order

Summary

Summary

REALbasic makes it possible to create full-featured Mac OS and Windows applications. This book/CD-ROM package enables you to learn to program in REALbasic by creating applicationsinstead of reading chapter after chapter on programming topics. You'll focus on developing complete, self-contained projectsbeginning with an explanation of the concepts and followed by the complete source code. The applications from each chapter can be used immediately, so the rewards of learning are quick and extensive.


Author Notes

Clayton E. Crooks II (Knoxville, TN) is a partner in Advanced Information Systems


Table of Contents

Acknowledgmentsp. xvii
Prefacep. xix
Chapter 1 Introduction to REALbasicp. 1
Integrated Development Environmentp. 2
Starting REALbasicp. 3
REALbasic Windows and Editorsp. 3
TUTORIAL: Your First REALbasic Projectp. 14
Creating an Interfacep. 16
Adding Some Codep. 18
Final Touchesp. 20
TUTORIAL: Compiling REALbasic Programsp. 23
Creator IDp. 24
Source Codep. 24
Chapter Reviewp. 25
Chapter 2 Creating an MP3 Playerp. 27
Project Overviewp. 28
TUTORIAL: Creating a GUIp. 29
Adding Some Codep. 33
Source Codep. 40
Chapter Reviewp. 40
Chapter 3 Drag-and-Drop Multimedia Playerp. 41
TUTORIAL: Creating an Interfacep. 42
Adding Some Codep. 44
TUTORIAL: Window Drag-and-Dropp. 50
Source Codep. 52
Chapter Reviewp. 53
Chapter 4 Creating a Calculatorp. 55
Project Overviewp. 56
TUTORIAL: Creating a GUIp. 57
Other Buttonsp. 61
EditFieldsp. 64
Handling the Control Arrayp. 65
The Operatorsp. 67
The Answer Isp. 68
Miscellaneous Functionsp. 70
Source Codep. 72
Chapter Reviewp. 75
Chapter 5 REALbasic Screen Capturesp. 77
Screen Capture Overviewp. 78
Creating the Projectp. 78
TUTORIAL: Writing the Codep. 80
Using with Multiple Resolutionsp. 84
Source Codep. 85
Chapter Reviewp. 86
Chapter 6 A Word Processorp. 87
The Projectp. 88
TUTORIAL: The GUIp. 89
The Codep. 92
The Formatting Optionsp. 94
Source Codep. 96
Chapter Reviewp. 98
Chapter 7 Text to Speechp. 99
Program Overviewp. 100
Designing the Programp. 101
AppleScriptp. 102
API Toolbox Callsp. 103
TUTORIAL: Working with AppleScriptp. 103
Using AppleScript in REALbasicp. 105
TUTORIAL: Working with Toolboxp. 108
Testing the Applicationp. 109
Source Codep. 109
Chapter Reviewp. 111
Chapter 8 REALbasic Drawingp. 113
Project Overviewp. 114
TUTORIAL: Creating the GUIp. 115
Writing the Codep. 120
Changing Colorsp. 121
Drawingp. 122
Source Codep. 125
Chapter Reviewp. 127
Chapter 9 REALbasic Encryptionp. 129
Basics of Encryptionp. 130
XORp. 131
TUTORIAL: Creating a Quick GUIp. 132
The Codep. 134
Source Codep. 136
Chapter Reviewp. 137
Chapter 10 REALbasic Slot Machinep. 139
TUTORIAL: A Basic GUIp. 140
Spinning the Wheelp. 144
Win or Losep. 145
Source Codep. 147
Chapter Reviewp. 148
Chapter 11 Creating Movies with REALbasicp. 149
Program Overviewp. 150
TUTORIAL: GUIp. 151
Some Codep. 152
Playing the Filep. 154
Testing the Programp. 155
Source Codep. 157
Chapter Reviewp. 159
Chapter 12 REALbasic Sprites and Gamingp. 161
REALbasic Sprite Overviewp. 162
TUTORIAL: Programming a Spritep. 163
Running the Programp. 166
TUTORIAL: Adding Animationp. 169
TUTORIAL: Adding Collision Detection and Scoringp. 172
Source Codep. 177
Chapter Reviewp. 179
Chapter 13 REALbasic 3Dp. 181
3D in REALbasicp. 182
TUTORIAL: 3D Controlp. 184
Source Codep. 194
Chapter Reviewp. 195
Chapter 14 OS X Unix Commandsp. 197
TUTORIAL: The CLIp. 198
TUTORIAL: Building the REALbasic Applicationp. 201
Testing the Programp. 204
Source Codep. 206
Chapter Reviewp. 207
Chapter 15 Playing Musical Notes with REALbasicp. 209
Overview of the NotePlayer Controlp. 210
NotePlayer Instrumentsp. 212
TUTORIAL: Let's Build an Applicationp. 216
Another Applicationp. 218
TUTORIAL: Final Applicationp. 222
Source Codep. 226
Chapter Reviewp. 230
Chapter 16 REALbasic and the Internetp. 231
Introductionp. 232
Webp. 233
FTPp. 233
E-mailp. 234
TUTORIAL: Building an Applicationp. 234
Some Codep. 236
Source Codep. 243
Chapter Reviewp. 244
Chapter 17 REALbasic Databasesp. 245
TUTORIAL: Creating a Databasep. 247
TUTORIAL: Creating the GUIp. 250
TUTORIAL: Programmingp. 253
Source Codep. 254
Chapter Reviewp. 255
Chapter 18 REALbasic Clipboard Managerp. 257
TUTORIAL: Setting Up the GUIp. 258
TUTORIAL: The Codep. 262
Source Codep. 265
Chapter Reviewp. 266
Chapter 19 Third Party Tools for REALbasicp. 267
The Toolsp. 268
Why Use the Tools?p. 269
Positivesp. 269
Negativesp. 269
Chapter Reviewp. 270
Chapter 20 Introduction to OpenGL in REALbasicp. 271
Installationp. 272
Propertiesp. 272
TUTORIAL: Basic Projectp. 276
Some Codep. 277
Chapter Reviewp. 280
Chapter 21 Introduction to 2D and 3D Graphicsp. 281
Introduction to Coordinatesp. 282
TUTORIAL: Drawing in OpenGLp. 282
TUTORIAL: Adding to the Objectsp. 285
Final Stepsp. 288
Chapter Reviewp. 293
Chapter 22 3D Modelsp. 295
3D Is Similar to 2Dp. 296
TUTORIAL: Drawing a Pyramidp. 296
TUTORIAL: Drawing a Cubep. 298
Chapter Reviewp. 304
Appendix A Standard Naming Conventionsp. 305
Appendix B Internet Resourcesp. 309
Internet Sitesp. 310
Newsgroupsp. 310
Appendix C About the CD-ROMp. 311
CD Foldersp. 312
System Requirementsp. 312
Installationp. 312
Appendix D Quick Reference to REALbasic Classes, Commands, and Controlsp. 313
D Graphicsp. 314
Arraysp. 314
Booleanp. 314
Classesp. 314
Code Executionp. 316
Constantsp. 316
Controlsp. 316
Data Typesp. 317
Date and Timep. 318
Error Messagesp. 318
Filesp. 319
Fontsp. 319
Graphicsp. 320
Mathp. 320
Menusp. 321
Monitors/Screensp. 321
Multithreadingp. 321
Networkingp. 321
Object Bindingp. 321
Objectsp. 322
Operatorsp. 322
OSp. 322
Printingp. 323
QuickTimep. 323
Resourcesp. 324
Runtime Errorsp. 324
Stringp. 324
Text Encodingp. 325
Variablesp. 325
Window Functionp. 325
Appendix E Text-Encoding Base and Variant Codesp. 327
Basep. 328
Variant Valuep. 330
Appendix F Ascii Valuesp. 333
Indexp. 341

Google Preview