[ Back to: REALBasic: The Definitive Guide ]These are examples for REALBasic: The Definitive Guide. Most of them are simply source projects demonstrating example code in the book, and will serve to clarify what the book is saying, or save you the effort of re-typing the code. Some of them improve upon the book's example code, occasionally in ways that were not feasible in a printed medium. A few of them didn't make it into the book, for one reason or another.
If you have the book, you can consult these projects easily by page number. Each project's name starts with "p" and the number of the page to which it is keyed. Note that some projects are keyed to a span of pages, and some are keyed to a non-contiguous set of pages, so look carefully at the list when hunting for an example.
If you don't have the book, you can use the names of the projects to give you a sense of what they exemplify. You can also use the book's table of contents to link the order of exposition with page numbers. Or just download them all and explore!
Be sure to consult the list of examples on the author's Web site as well. Those examples demonstrate numerous techniques and devices that he didn't feel it worthwhile to repeat here.
Bear in mind that you will need REALbasic 2.1a5 or later even to open these projects, and that version 2.1 is the only readily available version under which they will reliably run. Those whose names end in New require the most recent beta of version 3. When version 3 goes final, all the projects will be converted and updated.
Here they are (along with their download sizes):
p051recursion.hqx 13K p108classInterfaces.hqx 12K p127cArray.hqx 7K p130cArray2.hqx 8K p140p161stringsMemoryBlocks.hqx 11K p164threadsAndSemaphores.hqx 7K p218debuggingWindow.hqx 8K p242showModal.hqx 8K p255mouseMovement.hqx 8K p258refresh.hqx 6K p274-277canvas.sit.hqx 20K p276antialias.hqx 6K p284p288p294p383canvas.sit.hqx 27K p290transparency.sit.hqx 9K p291blurredOvalMask.sit.hqx 19K p297drawInto.hqx 11K p297drawInto2.hqx 8K p298scrollPane.hqx 7K p300malevich.sit.hqx 5K p305selfPushingButtons.sit.hqx 6K p305selfPushingButtonsNew.hqx 7K p312radioButtonBug.hqx 9K p314radioButtons.hqx 9K p317rightAlignedRadioBut.hqx 10K p321pictureButton.sit.hqx 10K p332floatingFindWindow.hqx 9K p335validationField.hqx 12K p337tickertapeField.hqx 7K p340wordSelectionField.hqx 7K p342appendStyledText.hqx 11K p342textStyleDataNew.sit.hqx 15K p344codeField.hqx 5K p345liveValidation.hqx 7K p348centeredField.hqx 6K p348twoColumnTextDrawing.hqx 7K p362p367listbox.sit.hqx 7K p363listbox.hqx 8K p372hierarchicalListBox.hqx 9K p379slider.hqx 7K p386codeFieldWith2Scroll.hqx 9K p386codeFieldWithScrollbar.hqx 7K p396-404popupTricks.sit.hqx 31K p416p506keyboard.hqx 9K p424cursorManagement.sit.hqx 5K p426animatedCursor.hqx 7K p432badFolderItem.hqx 6K p449endianityJones.hqx 8K p451binaryStream.hqx 12K p455textstreams.sit.hqx 133K p463dataToResource.sit.hqx 39K p467aliasMaker.sit.hqx 11K p478database.hqx 21K p483clipboard.hqx 13K p494AdrianMartin'sTrick.hqx 7K p494folderItemDrop.hqx 7K p496canvasDrag.hqx 9K p499internalDragHilite.hqx 10K p499listBoxDrag.hqx 8K p511-518sound.sit.hqx 57K p526animation.sit.hqx 76K p529editableMovie.sit.hqx 190K p540p548scrollCollision.sit.hqx 6K p559-563printing.hqx 18K p577dictionaryClient.hqx 11K p584smtpClient.hqx 17K p590tinyWebServer.hqx 12K p600appleScriptable.sit.hqx 4K p609aliasAERetrieval.hqx 6K p621stringToDate.hqx 7K
[ Back to: REALBasic: The Definitive Guide ]
© 2001, O'Reilly & Associates, Inc.