Realbasic - The definitive guide
Synopsis
REALbasic is a programming language in the best Macintosh
tradition: visual, intuitive, and easy to learn. It allows
you to create interfaces in minutes and entire, compiled
applications without having to learn a complicated
language; the strong object orientation makes it very easy
even for beginners to develop, maintain, and alter
projects. Best of all, an REALbasic 3, a single button
click generates your project as a Mac OS 8/9 application, a
Mac OS X native ("Carbon") application, or a Windows
executable. No other application framework lets you compile
for users on so many platforms so quickly and easily.
REALbasic: The Definitive Guide not only gives
you a firm grasp of the program's essential concepts, but
also tells you things you won't learn from the official
documentation alone. If you've never programmed before, the
book offers both a primer in REALbasic and an intuitive
approach to the concepts of programming itself, as you
quickly reach the ability to program every aspect of
REALbasic. You start out drawing the interface much as you
would do in a drawing program: by selecting buttons, menus,
dialog boxes, and the like from a tools menu. Then you use
the code editor to fill in the code that tells these pieces
what to do.
The widely hailed first edition of REALbasic: The
Definitive Guide has been completely rewritten to
encompass reader suggestions and the many improvements of
REALbasic 3—like its ability to compile and run under
OS X.
The book is divided into three sections:
- Fundamentals: a detailed summary of the
language that quickly shows you how to think about
programming and accomplish your goals in less time
- User Interface: how to create a complete
application using the rich classes and pre-defined tools
that make life so much easier for the REALbasic
programmer.
- Reaching Out: Internet communications,
databases, multimedia, game programming and more!
Table of Contents
- Preface
- Part I: Fundamentals
-
- 1: The Workspace
- The Project Window
- Editing Windows
- Adding Functionality
- How the Three Editors Relate
- Testing Without Building
- Online Help
- Shortcuts
- 2: The Basic Language
- Lines and Commands
- Variables and Constants
- Subroutines
- Regulating Flow
- Arrays
- Recursion
- Comments
- 3: Objects, Classes, and
Instances
- Messages and Dot Notation
- Object Design Philosophy
- Classes and Instances
- Anatomy of a Class
- An Instance Is Born
- Referring to Instances
- The Truth About Controls
- Control Clones and Control Arrays
- Being Careful with Instance References
- Destruction of Instances
- 4: Class Relationships and
Class Features
- New Classes and Inheritance
- Casting
- Overriding
- Class Interfaces
- Events and New Events
- The Class Hierarchy
- Global Members
- Advanced Class Features
- Example Classes
- 5: Datatypes
- Booleans
- Strings
- Numbers
- Variants
- Collections
- Dates
- Colors
- Memoryblocks
- Threads
- 6: Menus
- Menu Overview
- Editing Menus
- Special Menu Items
- The Menu-Enabling Moment
- Menu Item Functionality
- Dynamic Menus
- Menu Examples
- 7: The Architecture of an
Application
- Three Pillars of Zen
- The Application Subclass
- Order of Events
- 8: Debugging and
Building
- Compile Errors
- Exceptions
- The Debugger
- Building
- Part II: User Interface
-
- 9: Windows
- Window Types
- Opening and Closing, Showing and Hiding
- Title, Position, and Size
- Events
- Drawing in a Window
- 10: Abstract Control
Classes
- Lifetime Events
- Appearance
- Position and Size
- Mouse Movement Events
- Redrawing
- 11: Canvases
- Canvas Events, Properties, and Methods
- Picture Class
- Graphics Class
- Backdrop Property
- Fun With Graphics Properties
- Canvas Graphics Property
- Transparency and Icons
- Speed
- Interaction with Other Objects
- 12: Buttons and
StaticTexts
- PushButton
- BevelButton
- Placard
- LittleArrows
- CheckBox
- RadioButton and GroupBox
- DisclosureTriangle
- StaticText
- Custom Buttons
- 13: EditFields
- Types of EditField
- EditField Events, Properties, and Methods
- The Focus
- Manipulating Text and Styles
- Reacting to User Input
- Drawing Styled Text
- Miscellaneous Tips
- 14: ListBoxes
- ListBox Features
- ListBox Events, Properties, and Methods
- Basic ListBox Techniques
- Hierarchical ListBoxes
- Other ListBox Features
- 15: ProgressBars, Sliders,
and Scrollbars
- ProgressBar
- Slider
- Scrollbar
- 16: Shapes and
Decorations
- Line
- Shapes
- Separator
- ImageWell
- ChasingArrows
- PopupArrow
- 17: Menus in Windows
- PopupMenu
- BevelButton
- ContextualMenu
- Alternatives
- 18: TabPanels
- Preparation
- Properties and Events
- Usage
- 19: Keyboard
- Keyboard Communication
- Keyboard Object
- UserCancelled
- 20: Mouse and Cursor
- Mouse Communication
- Polling the Mouse
- Balloon Help
- Cursor
- Part III: Reaching Out
-
- 21: Files
- Getting a FolderItem
- File Types
- File Properties and File Actions
- Arbitrary Data: Binary Streams
- Sequential Data: Text Streams
- Resources
- Predefined Data Formats
- 22: Databases
- Database Files and Classes
- Schemas
- Displaying Data
- Other Data Sources
- 23: Clipboard
- Clipboard Class
- Usage
- 24: Drag-and-Drop
- Beginning a Drag
- Receiving a Drop
- Finder Drop
- Internal Drag-and-Drop
- Limitations and Workarounds
- 25: Time
- Ticks and Microseconds
- Timers
- Yielding Time
- 26: Sound
- Beep
- Sound Object
- MIDI Notes
- 27: Movies
- Movie Class
- MoviePlayer
- Movie Usage
- Making Movies
- Analyzing Movies
- 28: Animation
- Configuring the SpriteSurface
- Basic Sprite Techniques
- Basic Background Techniques
- Improving the Classes
- Intelligent Sprite Behavior
- Responding to Keys
- Intelligent Collisions
- 29: Printing
- Page Setup
- Proceeding To Print
- Measurement Problems
- Printing Text
- 30: TCP/IP
Communications
- Socket Properties, Methods, and Events
- Client
- Server
- 31: Interapplication
Communications
- Sending Apple Events
- Receiving Apple Events
- Apple Event Classes, Properties, and Methods
- Apple Event Inadequacies
- AppleScripts
- Shell
- 32: Language Extensions
- Direct Toolbox Calls
- XCMDs
- Shared Libraries
- Plug-ins
- Growing an Application
- Index
Commander ce livre au
prix de
47,37
€
45
€
Classé sous : Class, Classes, Realbasic, Properties, Events
Livres en rapport
|
Derniers Blogs
GESTION D'EXCEPTION AVEC LES TASKSGESTION D'EXCEPTION AVEC LES TASKS par richardc
Nous avons vu dans un précédent article comment utiliser Task pour effectuer des opérations dans un autre thread.
Malheureusement, comme tout le monde n'est pas parfait, il se peut que cette exécution se passe mal et qu'une exception se produise.
La...
Cliquez pour lire la suite de l'article par richardc DéMARRONS AVEC LES TASKSDéMARRONS AVEC LES TASKS par richardc
Que vous le vouliez ou non, le développement multi-tâche est maintenant une obligation pour toute nouvelle application. Il est donc vital d'en comprendre les mécanismes et de s'y mettre le plus tôt possible.
En attendant le .NET Framework 4.5 avec le...
Cliquez pour lire la suite de l'article par richardc SLIDE & DéMO TECHDAYS 2012 - FAST & FURIOUS XAML APPSSLIDE & DéMO TECHDAYS 2012 - FAST & FURIOUS XAML APPS par Vko
Retrouvez les slides et les démo de ma session Fast & Furious XAML Apps. A ceux qui se posent la question : "est-ce que le code de la DataGrid est disponible?", je vous répondrais "pas encore". Je vais mettre en place un projet codeplex pour part...
Cliquez pour lire la suite de l'article par Vko XNA IS DEAD!XNA IS DEAD! par richardc
Depuis la semaine dernière (et grâce aux TechDays 2012), je me penche activement sur la nouvelle version de Windows, aka Windows 8. Vous me direz, il était temps puisque la première preview date de Septembre dernier.
OK. Remarquez, on n'en est qu'aux...
Cliquez pour lire la suite de l'article par richardc TECHDAYS PARIS 2012 : WINDOWS SERVER "8" QUOI DE 9 !TECHDAYS PARIS 2012 : WINDOWS SERVER "8" QUOI DE 9 ! par ROMELARD Fabrice
Speakers: Fabrice Meillon et Stanislas Quastana Cette session est basée entièrement sur celle donnée lors de la BUILD cet hiver. Il n'y a pas d'ajout d'information en rapport avec cet évènement passé. Windows 8 Server sera intégralem...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice
Logiciels
DocTranslate (V3.1.0.0)DOCTRANSLATE (V3.1.0.0)DocTranslate est un traducteur de document Microsoft Word, PowerPoint et Excel. Il permet d'autom... Cliquez pour télécharger DocTranslate Tribler (2012)TRIBLER (2012)Tribler est un client pair à pair (P2P/Peer-to-Peer) open source avec la capacité de regarder des... Cliquez pour télécharger Tribler OneSwarm (2012)ONESWARM (2012)Le peer-to-peer qui protège votre vie privée, c'est OneSwarm.
Ce logiciel de peer-to-peer crypté... Cliquez pour télécharger OneSwarm PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V8.4)PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V8.4)PONAMEDIA TV DEVIENS HELLLOOO FLASH
LA TV SUR VOTRE ORDINATEUR.
Toute une plateforme Multi... Cliquez pour télécharger PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO Academy System (17.2.1.0)ACADEMY SYSTEM (17.2.1.0)Logiciel de gestion des établissements.
- élèves/étudiants (inscription, dossier, absence...)
-... Cliquez pour télécharger Academy System
|