You are on page 1of 53

Expert Delphi: Robust and fast

cross-platform application
development, 2nd Edition Marco Cantù
Visit to download the full and correct content document:
https://textbookfull.com/product/expert-delphi-robust-and-fast-cross-platform-applicati
on-development-2nd-edition-marco-cantu/
More products digital (pdf, epub, mobi) instant
download maybe you interests ...

C 7 and NET Core Modern Cross Platform Development 2nd


Edition Mark J. Price

https://textbookfull.com/product/c-7-and-net-core-modern-cross-
platform-development-2nd-edition-mark-j-price/

Ultimate Node.js for Cross-Platform App Development:


Learn to Build Robust, Scalable, and Performant Server-
Side JavaScript Applications with Node.js (English
Edition) Kumar
https://textbookfull.com/product/ultimate-node-js-for-cross-
platform-app-development-learn-to-build-robust-scalable-and-
performant-server-side-javascript-applications-with-node-js-
english-edition-kumar/

Ultimate Flutter for Cross-Platform App Development 1st


Edition Temidayo Adefioye

https://textbookfull.com/product/ultimate-flutter-for-cross-
platform-app-development-1st-edition-temidayo-adefioye/

Biota Grow 2C gather 2C cook Loucas

https://textbookfull.com/product/biota-grow-2c-gather-2c-cook-
loucas/
Mobile app development with Ionic cross platform apps
with Ionic Angular and Cordova Griffith

https://textbookfull.com/product/mobile-app-development-with-
ionic-cross-platform-apps-with-ionic-angular-and-cordova-
griffith/

C# 12 and .NET 8 – Modern Cross-Platform Development


Fundamentals, Eighth Edition Mark J. Price

https://textbookfull.com/product/c-12-and-net-8-modern-cross-
platform-development-fundamentals-eighth-edition-mark-j-price/

Libgdx Cross platform Game Development Cookbook 1st


Edition Marquez David Saltares Sanchez Alberto Cejas

https://textbookfull.com/product/libgdx-cross-platform-game-
development-cookbook-1st-edition-marquez-david-saltares-sanchez-
alberto-cejas/

Mobile Development with NET Build cross platform mobile


applications with Xamarin Forms 5 and ASP NET Core 5
2nd Edition Can Bilgin

https://textbookfull.com/product/mobile-development-with-net-
build-cross-platform-mobile-applications-with-xamarin-
forms-5-and-asp-net-core-5-2nd-edition-can-bilgin/

Godot 4 Game Development Projects: Build five cross-


platform 2D and 3D games using one of the most powerful
open source game engines 2nd Edition --

https://textbookfull.com/product/godot-4-game-development-
projects-build-five-cross-platform-2d-and-3d-games-using-one-of-
the-most-powerful-open-source-game-engines-2nd-edition/
本书版权归Packt Publishing所有
Expert Delphi

Robust and fast cross-platform application development

Marco Cantù

Paweł Głowacki
Expert Delphi
Copyright © 2024 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted
in any form or by any means, without the prior written permission of the publisher, except in the case
of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information
presented. However, the information contained in this book is sold without warranty, either express
or implied. Neither the authors, nor Packt Publishing or its dealers and distributors, will be held liable
for any damages caused or alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and
products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot
guarantee the accuracy of this information.

Group Product Manager: Kunal Sawant


Publishing Product Manager: Akash Sharma
Book Project Manager: Manisha Singh
Senior Editor: Esha Banerjee
Technical Editor: Rajdeep Chakraborty
Copy Editor: Safis Editing
Indexer: Tejal Daruwale Soni
Production Designer: Ponraj Dhandapani
DevRel Marketing Coordinator: Shrinidhi Manoharan

First published: June 2017


Second edition: February 2024

Production reference: 1090224

Published by Packt Publishing Ltd.


Grosvenor House
11 St Paul’s Square
Birmingham
B3 1RB, UK

ISBN 978-1-80512-110-7

www.packtpub.com
When I joined Embarcadero, Paweł greeted me saying “It is great that you are now on board,
and we are both working for the same company and making Delphi better!”

Working on a new edition of his work has been great. Therefore, this book is dedicated to the late
Paweł Głowacki, a friend and one of the most passionate Delphi evangelists, and to the fond memories
of the time spent together.

– Marco Cantù
Foreword
In mid-December 2017, the sad news of Paweł Głowacki’s passing broke in the Delphi developer
community. I had the pleasure of working closely alongside Paweł for over 6 years until mid-2017,
covering 10 major Delphi product launches with him.
Behind each product launch, there were new demos to create, events to attend, and new webinars
to organize and attend to help share details about the new features available to Delphi developers.
Between all these activities, Paweł’s enthusiasm for programming shined brightly, a light that shone
so brightly that it was dearly missed when it left us all too soon. The outpouring of love from around
the world showed how well he, and his content, was loved and the magnitude of his global stardom
within the Delphi community.
I remember the time when I started working at Embarcadero and Paweł was in the UK office ahead
of an event. I met him in the lead-up to the launch of XE2; I noticed that he had a really thick book
about shader languages that he was reading intensely… He joked about how it was really interesting,
but, how it could also double up as a pillow! (He’d had an early flight in). But this summed up his
approach. He always wanted to bring great content, founded in a deep technical understanding of
developers, and delivered it with a smile and in a fun way.
This is something that Expert Delphi brings to you. Many of the chapters lean heavily on Paweł’s
years of making content understandable yet fun to learn. Chapter 2 starts off with one of his favorite
Developer Direct webinar sessions that we ran for multiple series called Mind Your Language.
This second edition has been lovingly revised by Marco Cantù, to bring its content up to date with the
latest developments in Delphi. With Paweł’s voice still shining through, you will learn how easy it is
with Delphi to develop across the stack. Expert Delphi covers everything from front-end application
development for mobile and desktop to 3D development, to embedding database access and building
and using backend multi-tier architectures touching on both SOAP and REST with RAD Server.
As David I commented in the original edition’s foreword, “In Expert Delphi, Paweł encapsulates
the knowledge gained through years as a world-class Delphi engineer, an entertaining presenter, a
community leader, and a passionate advocate. With his words, step-by-step instructions, screenshots,
source code snippets, examples, and links to additional sources of information, you will learn how to
continuously enhance your skills and apps.”
And, as Paweł and I used to say at the end of our developer sessions… Thanks for joining us today
and Happy Coding everyone!

Stephen Ball
Presales Director, Embarcadero
@DelphiABall
Contributors

About the authors


Marco Cantù is an experienced Delphi expert, who started working with the product since its
introduction in 1995. He is currently working as a Product Manager for RAD Studio at Embarcadero
Technologies, an Idera company. Prior to that, Marco was a Delphi trainer and consultant for Wintech
Italia. Over the years, Marco has written 20 books on Delphi, from the classic Mastering Delphi series
to the recent Object Pascal Handbook. Marco has been a speaker at many Delphi and programming
conferences worldwide, including over 10 Borland US Conferences, the Software Development
Conference, Borland European conferences, EKON (Germany), DCon (UK), Conference to the Max
(Holland), DelphiTage, the Italian Delphi Day, and a few editions of Delphi Developer Days. Marco
is based in Italy.

Paweł Głowacki was Embarcadero’s European Technical Lead for Developer Tools. Previously, Paweł
spent over 7 years working as a senior consultant and trainer for Delphi within Borland Education
Services and CodeGear. Apart from working with Embarcadero customers across the region, he
represented Embarcadero internationally as a conference and seminar speaker. Paweł passed away in
mid-December 2017, but he is alive in the hearts of the Delphi developers community, worldwide.

Marco Cantù (left), Paweł Głowacki (right)


About the reviewer
Mauricio Marcelo Paiva de Abreu has been passionate about technology since he was 9 years old. His
first computer was Sharp’s MSX HotBit, in which he started programming with Basic. He has closely
followed the development of many programming languages ​​and PCs, including CP500, Prológica –
Solution16, and several others since then.
Mauricio’s first contact with Delphi was in version 5.0. A self-taught person in Delphi, he developed
projects for intern companies in Access and Delphi. He managed these contracts and worked on
Delphi 7 videoconferencing room rental projects with SQL Server as the database. At present, he has
a software development company that creates new ideas for the Brazilian market, which uses Delphi
for 99% of its ERP development.
He is knowledgeable in several versions of Delphi, including 2010, XEs, Berlin, Tokyo, Alexandria,
and Athens.
Preface xv

Part 1: Building Blocks


1
Fasten Your Seat Belts 3
Delphi installation 3
Delphi versions 4
Running the Delphi installer 5
Installing custom components 7
IDE options 9
x Table of Contents

3
Packing Up Your Toolbox 67
Technical requirements 67 Reading JSON 80
Working with files and streams 67 Using the JSON wizard in Delphi 12 84

Working with JSON 73 Working with XML 85


Writing JSON 74 Summary 90

4
Using the Parallel Programming Library 91
Technical requirements 91 Exploring the Parallel Programming
Using threads 92 Library 98
Access synchronization 96 Parallel loops 99
Using tasks 100
Calling Synchronize 96
The beauty of futures 102
Atomic operations 96
Using a critical section 97 Summary 103
Using TMonitor 97

Part 2: Going Mobile


5
Playing with FireMonkey 107
Technical requirements 107 Touch 120
Drawing in code 108 Gestures 122
Multi-touch 125
Get moving with timers 113
Precise timing 115 Game of Memory 127
Designing the game 128
The power of parenting 116
Shapes 116 Working with images 128
Animations 119 Designing the user interface 130
Touching the screen 120 Aligning, anchoring, and margins 130
Table of Contents xi

Layouts 131 Storing the game’s configuration 139


The game’s settings form 141
Building the main form of the game 131
Summary 144

6
FireMonkey in 3D 145
Technical requirements 145 The Moving Earth app 155
Cross-platform 3D rendering 145 Building an interactive 3D scene 160
Using 3D models 166
Direct use of Context3D 146
A starfield simulation 168
Using a cube component 149
A custom wireframe component 150 Mixing 3D and 2D 171
Ready-to-use 3D objects 154 Summary 174

7
Building User Interfaces with Style 175
Working with built-in styles 176 Customizing styles 186
Adding more controls 179 Using frames 189
Adding the dials 180
Working with inherited views 194
Using custom styles 181 Previewing forms on devices 198
Embedding styles as resources 184 Summary 201

8
Working with Mobile Operating Systems 203
James Bond’s toy 204 Camera, action! 224
What am I running on? 204 Notify me! 226
The life of an app 208 Navigating the web 227
Sensing the world 211 Delphi language bridges 229
Using the location 212 Vibrating on Android 230
Using the orientation and motion sensors 216 Vibrations on iOS 231

Taking photos 218 Summary 233


Using share sheets 222
xii Table of Contents

9
Desktop Apps and Mobile Bridges 235
Technical requirements 236 Grid panel layout 248
Single source for mobile and desktop 236 Building desktop apps for Windows,
Using the MultiView control 236 macOS, and Linux 250
Using data grids 240 Creating apps for macOS 252
Leveraging layout controls 242 What about targeting Linux? 254

Flow layout 243 App tethering 256


Grid layout 245 Summary 262
Scaled layout 247

Part 3: From Data to Services


10
Embedding Databases 265
Technical requirements 265 Building a data-driven UI 281
Data-driven apps 266 Using visual live bindings 291
Modeling data 267 Fast UI prototyping 294
Choosing a database 269 Summary 297
Accessing databases with FireDAC 271

11
Integrating with Web Services 299
Technical requirements 299 The Delphi Cloud API 312
Understanding Web Services 300 Moving the ToDo List app to Azure 312

Building a native HTTP client 301 Using the AWS SDK for Delphi 318
Consuming XML SOAP Web Services304 Summary 322
Integrating with REST services 307
Integrating with the cloud 311
Table of Contents xiii

12
Building Mobile Backends 323
Technical requirements 323 Creating a new ToDo item 333
Delphi and multi-tier architectures 323 Reading the data and other operations 334
A client for the REST API 335
Working at a low level with
WebBroker 325 Do-it-yourself with DataSnap 339
Generating a standalone project 326 Building the DataSnap server 340
The Standalone WebBroker server 327 Implementing the DataSnap server
Adding Apache support 330 functionality 341
Adding a client application 331 Building a DataSnap client 342
Building the web module 332
Summary 347

13
Easy REST API Publishing with RAD Server 349
Technical requirements 349 The ToDo list in RAD Server 358
RAD Server setup 350 Creating a client app for RAD Server 362
Building RAD Server resources 354 Summary 366

14
App Deployment 367
Technical requirements 367 Monetizing with ads and in-app
Deploying to app stores 367 purchases 378
Apps artwork 369 Automate the development process 379
Apps orientation 371 App versioning 379
Publishing on the Apple iOS App Store 371 Practical version control 380
Publishing your Android apps to the Google Sleeping well with unit testing 381
Play Store 374
Summary 382
xiv Table of Contents

15
The Road Ahead 383
Review of what we have learned 383 The AI revolution 386
Trends in mobile development 384 Ideas for new and innovative apps for
A single screen is not your limit 385 you to build 386
Serverless backends and NoSQL databases 385 Summary 387

Index 389

Other Books You May Enjoy 398


Preface
The world of mobile app development is becoming more and more complex. Technology is continuously
evolving. Every day, new versions of mobile operating systems are released in the market. Mobile
devices are getting new capabilities. User expectations are constantly growing, and it is harder and
harder to meet them.
The only way to meet and exceed all challenges in the contemporary world of mobile development is
to become a developer superhero. Superheroes have super tools. In this book, we are going to embark
on the journey of mastering Delphi development to build mobile apps. We will learn how to develop
amazing productivity powers and rapidly build stunning cross-platform mobile apps from one codebase.
We will start by getting comfortable in using Delphi’s Integrated Development Environment. Next, we
will review the key constructs in the Object Pascal language and everyday programmer tasks so you
can easily understand and write solid and maintainable source code. Over the course of this book,
the fun levels will only increase. We will start our adventure with mobile development with Delphi by
building small projects that will make you feel like a real Delphi developer. Having mastered simple
things, we will be ready to do more serious stuff. We will go deep into understanding the concept of
FireMonkey styles, which is the cornerstone of building stunning cross-platform user interfaces that
will make a difference in the end-user experience of your apps. The rest of the journey is all about
gaining practical knowledge of using more complex Delphi frameworks. We will get down to the
metal and harness the full power of mobile hardware and operating systems. We will be working with
sensors, building data-driven user interfaces, embedding mobile databases, integrating with REST
web services and the Cloud, and defining scalable, multiuser backends.
But why Delphi? There are two main platforms for mobile apps that are dominating the mobile market:
Android and iOS. It is a common requirement to develop an app for both platforms. This typically
means using different tools, frameworks, and programming languages. If you want to build a mobile
app for iOS, you would typically use the Xcode development environment from Apple and use Swift
as the programming language. Android development requires different tools. For Android, you would
typically use a tool like Android Studio from Google and the Java programming language. These are
two different worlds that speak different languages. If you want to build your app for both, this typically
means having two different sets of skills and in practice two different teams of developers. Mobile
app development gets more and more fragmented. One can be an iOS developer, and somebody can
specialize in Android.
xvi Preface

This is where the advantage of a tool like Delphi becomes significant: You can write a single application,
and the same source code written with a single programming language and using a single set of user
interface controls will work on both iOS and Android. Not only does it work but it also works great,
leveraging the platform features and adapting to the different UI requirements.
Not only that, Delphi also offers you the ability to build the backend for your mobile apps, offering
REST-based access to your own services from your mobile app.
With Delphi, you can become a mobile developer superhero and develop unmatched productivity
powers to build complete mobile apps using just one tool, one framework, and one programming
language to create mobile apps for both iOS and Android and desktop applications for Mac and
Windows. At the same time, you can also build scalable REST API backends that will power your
mobile apps on all platforms.

Who this book is for


This book is intended for software developers who know the foundations of programming and can write
code in at least one programming language, as it will not teach you the foundations of programming.
In other words, if you have never written any line of code in your life, this book is not for you.
This book is meant for developers who might not have used Delphi or for developers who have used
Delphi in the past but only for Windows VCL applications, not FireMonkey mobile ones. There is little
for Windows and desktop development here, as the focus is on building mobile iOS and Android apps.
This book is packed with practical code examples and best practices for you to become an excellent
mobile developer! It is focused on learning by doing – more than just offering many theoretical
discussions, it will guide you step by step in rebuilding projects. That is why no expertise in Delphi
is required: In most cases, the steps do not assume you have a pre-existing knowledge of the tool or
the programming language.
Given the information built on what was presented in previous chapters, though, if you are new to
Delphi mobile development, we encourage you to go through the book in sequence: Jumping right
away to the final chapters would be a very steep learning curve.

What this book covers


Chapter 1, Fasten Your Seat Belts, introduces you to the Delphi IDE and guides you on the first step
for building an app for various platforms.
Chapter 2, Mind Your Language, offers an introduction to Delphi’s Object Pascal language, covering
some of its foundations and some of the most recent extensions to the language.
Chapter 3, Packing Up Your Toolbox, delves into some of the core runtime library features, focusing
on managing files in different formats, including JSON and XML.
Preface xvii

Chapter 4, Using the Parallel Programming Library, focuses on multi-threading, parallel programming,
and threads synchronization.
Chapter 5, Playing with FireMonkey, introduces the FireMoney UI library, covering its foundations
while guiding you in the development of an actual app.
Chapter 6, FireMonkey in 3D, goes over the development of 3D apps in FireMonkey, showing multiple
different techniques.
Chapter 7, Building User Interfaces with Style, delves into the styles architecture, which is the core
architectural element of FireMonkey.
Chapter 8, Working with Mobile Operating System, focuses the attention on the device sensors, cameras,
and integrated web browsers.
Chapter 9, Desktop Apps and Mobile Bridges, touches on desktop development with UI controls
more interesting for desktop than mobile, and how desktop and mobile apps can work together via
a technology called tethering.
Chapter 10, Embedding Databases, introduces database development, the FireDAC data access library,
and live bindings.
Chapter 11, Integrating with Web Services, how to call external web services via HTTP, REST clients,
SOAP clients, or Cloud access libraries.
Chapter 12, Building Mobile Back-ends, starts looking into the development of server libraries you can
use as the backend of your mobile apps, covering WebBroker and DataSnap.
Chapter 13, Easy REST API Publishing with RAD Server, is fully focused on the RAd Server technology
available in the high-end versions of Delphi.
Chapter 14, App Deployment, covers the deployment of apps to the mobile stores, Apple’s App Store
and Google’s Play Store.
Chapter 15, The Road Ahead, is a short conclusion suggesting things you can do after you’ve finished
reading the book.

To get the most out of this book


This book will teach you the development of apps with Delphi and FireMonkey and does it through
practical demos and step-by-step guides. For this reason, you need to have a copy of Delphi at hand and
possibly a mobile device you can deploy your applications to. For macOS and iOS development, you
need an Apple Mac, while for Android a Windows machine with Delphi and the integrated Android
SDK is sufficient. Some specific additional requirements are listed below.
xviii Preface

Software/hardware covered in
Operating system requirements
the book
The IDE runs on Windows or on a Windows VM hosted
in a different operating system. You need a license of
Embarcadero Delphi IDE Delphi, although most of the content and demos will
work using the Community Edition, which is available
for free (with some limitations)
Requires only an Android phone or tablet, possibly with
Android development
a recent version of the operating system
Requires a Mac and a (paid) Apple developer account
iOS development
to deploy to your device and an actual iPhone or iPad.
DataSnap and RAD Server Frameworks Available only in the high-end, paid versions of Delphi
Require paid developer accounts on Apple or Google
App Store Deployment
online stores
If you are using the digital version of this book, we advise you to type the code yourself or access
the code from the book’s GitHub repository (a link is available in the next section). Doing so will
help you avoid any potential errors related to the copying and pasting of code.

Download the example code files


You can download the example code files for this book from GitHub at https://github.com/
PacktPublishing/Expert-Delphi_Second-edition. If there’s an update to the code,
it will be updated in the GitHub repository.
We also have other code bundles from our rich catalog of books and videos available at https://
github.com/PacktPublishing/. Check them out!

Conventions used
There are a number of text conventions used throughout this book.
Code in text: Indicates code words in text, database table names, folder names, filenames, file
extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “This will
add a form inherited from TForm3D.”
Preface xix

A block of code is set as follows:

const
  DEFAULT_OPACITY = 1;
  POS_X = 150;
  POS_Y = 150;
  SUN_RADIUS = 50;
  RAY_COUNT = 12;
  RAY_LENGTH = 100;

When we wish to draw your attention to a particular part of a code block, the relevant lines or items
are set in bold:

procedure TForm1.PaintBox1Paint(Sender: TObject;


  Canvas: TCanvas);
begin
  Canvas.BeginScene;
  try
    // access "Canvas" methods and properties here
  finally
    Canvas.EndScene;
  end;
end;

Any command-line input or output is written as follows:

procedure TMViewForm.FormCreate(Sender: TObject);


begin
   MultiView1.Mode := TMultiViewMode.PlatformBehaviour;
   ComboMode.ItemIndex := 0;
end;

Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words
in menus or dialog boxes appear in bold. Here is an example: “Now select the grid, right-click on it,
or see the commands at the bottom of the Object Inspector and open its Items Editor.”

Tips or important notes


Appear like this.
xx Preface

Get in touch
Feedback from our readers is always welcome.
General feedback: If you have questions about any aspect of this book, email us at customercare@
packtpub.com and mention the book title in the subject of your message.
Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen.
If you have found a mistake in this book, we would be grateful if you would report this to us. Please
visit www.packtpub.com/support/errata and fill in the form.
Piracy: If you come across any illegal copies of our works in any form on the internet, we would
be grateful if you would provide us with the location address or website name. Please contact us at
copyright@packt.com with a link to the material.
If you are interested in becoming an author: If there is a topic that you have expertise in and you
are interested in either writing or contributing to a book, please visit authors.packtpub.com.

Share Your Thoughts


Once you’ve read Expert Delphi, we’d love to hear your thoughts! Please click here to go straight to
the Amazon review page for this book and share your feedback.
Your review is important to us and the tech community and will help us make sure we’re delivering
excellent quality content.
xxi

Download a free PDF copy of this book


Thanks for purchasing this book!
Do you like to read on the go but are unable to carry your print books everywhere?
Is your eBook purchase not compatible with the device of your choice?
Don’t worry, now with every Packt book you get a DRM-free PDF version of that book at no cost.
Read anywhere, any place, on any device. Search, copy, and paste code from your favorite technical
books directly into your application.
The perks don’t stop there, you can get exclusive access to discounts, newsletters, and great free content
in your inbox daily
Follow these simple steps to get the benefits:

1. Scan the QR code or visit the link below

https://packt.link/free-ebook/9781805121107

2. Submit your proof of purchase


3. That’s it! We’ll send your free PDF and other benefits to your email directly
Part 1:
Building Blocks

You’ve just installed Delphi and have its main window in front of you, how do you start building
the next successful mobile app? We will get to it but before we get deeper into the main topic of this
book, it’s important to focus on some of the foundations and building blocks of Delphi development.
In particular, we are going to take you on a tour of the IDE, explore Delphi’s Object Pascal programming
language, and look into some core elements of the RunTime Library (RTL) focusing on ways to
manage files using different formats and on multi-threading.
We’ll do this by building a small and focused example. Something that will help you get started on
the main goal of the book to help you become an expert Delphi mobile developer.
This part has the following chapters:

• Chapter 1, Fasten Your Seat Belts


• Chapter 2, Mind Your Language
• Chapter 3, Packing Up Your Toolbox
• Chapter 4, Using the Parallel Programming Library
1
Fasten Your Seat Belts
The key benefit of Delphi in mobile development is that you can design your app once and you can
natively compile it for both Android and iOS from the same source code. This chapter is exactly about
this capability. We are going to install Delphi, create a simple one-button “Hello World” app, and then
run the same app on an Android phone and an iOS device.
The integrated development environment (IDE) is where the programmer spends most of their time.
Learning best practices of using the IDE will pay off in the future and will increase your developer
productivity. Before building apps, you need to feel comfortable working in the Delphi IDE.
The objective of this chapter is to help you install the Delphi IDE, learn basic IDE functionality, and
prepare it for mobile development.
In this chapter, we will cover the following topics:

• Delphi installation
• Riding the IDE
• Deploying to mobile devices

Delphi installation
Delphi is a Windows program, so you need to have a computer with a proper version of Windows
installed and enough free space on your hard drive. You may want to install Delphi on a physical
computer or a Windows virtual machine image using one of the available virtualization solutions,
such as VMWare. In this case, you can also use a Mac computer with a Windows virtual machine.
Installing it on a virtual machine has some advantages in cross-platform development. To create
iOS apps, you will need to have access to a Mac computer anyway. This could be another computer
available on the local network or the same physical machine configured with a virtual machine to
run the IDE. Whether you choose to install Delphi on a physical or virtual Windows machine, the
installation process is the same.
4 Fasten Your Seat Belts

Delphi is implemented as a native Windows 32-bit executable, but it is recommended to install it on


64-bit versions of Windows 11, or a recent 64-bit version of Windows 10.

Delphi versions
Delphi comes in different versions, so before downloading the installer, we need to decide which
version to choose. There are four Delphi versions: Community Edition (CE), Professional, Enterprise,
and Architect:

• CE is a free version of Delphi with very few technical limitations compared to the Professional
edition, but a license valid only for hobbyists, startups, and other scenarios in which the
developer or company revenues do not exceed 5,000 US dollars a year. Refer to the product’s
End User License Agreement (EULA, available online) for more details on the CE license
limitation and to make sure you are using it legally. The version of the CE edition generally
lags several months behind the paid product versions, but it offers a great way to get started
with Delphi, and it’s free.
• The next version is Professional. It contains all the features required for mobile development
as it can target Windows, macOS, Android, and iOS. The Professional edition is a viable choice
if you plan to build Delphi applications with no need for advanced database access, multitier
support, and some of the other advanced features available in the Enterprise edition.
• The third version is Enterprise. This is the full version of Delphi and contains everything that
is in Professional, plus support for building Linux server applications, access to all databases,
DataSnap and RAD Server multitier solutions, and some more additional features. This is the
version of Delphi that we are going to use in this book, although most of the examples and
features we’ll cover are also available in the Professional edition.
• The highest Delphi version is Architect. This is a product bundle that contains Delphi “Enterprise”
and separately installed tools from Embarcadero sister companies, such as Aqua Data Studio
from Idera and Ext JS from Sencha. We are not going to cover any of those additional tools
in this book.

Delphi is available as a standalone product, but it can also be used as part of RAD Studio. RAD Studio
contains Delphi and C++Builder. Delphi and C++Builder are two different IDE personalities of
RAD Studio; both can be installed from the same RAD Studio installer into one deeply integrated
environment. Both products, Delphi and C++Builder, share the same component libraries but differ
in the programming language being used. Delphi uses Object Pascal, while C++Builder uses standard
C++. As this book’s title implies, here, we are focusing on Delphi.
Delphi installation 5

In this book, we are going to use Delphi 12.0 Enterprise edition. Delphi is produced by Embarcadero,
and you can find more information about different Delphi versions and features on the Embarcadero
Delphi home page: http://www.embarcadero.com/products/delphi.
You can get Delphi directly through the Embarcadero website, including a 30-day trial and the CE
version of Delphi (at the time of writing, this is version 11.3). After purchasing Delphi, you will receive
an automatically generated email with the download link to the Delphi installer and the serial number
needed during the installation.

Running the Delphi installer


The Delphi installer is available in two different formats. You can either choose to install Delphi using
the so-called Online Installer, or you can use the Offline Installer, based on an ISO image you can
download upfront. The first option is the default one and makes it for faster installation; it is also
the only option available for the CE version. The Online Installer (also called Minimal Installer) is a
small application that downloads and installs only some minimal parts of Delphi. After this “minimal
Delphi” is ready, you can choose to install the support for different platforms and features. Even if
you install from the ISO image, the process is the same as the minimal installation, followed by the
platform selection. This is useful when internet access is slow, unreliable, or for some security reasons,
the Windows machine that you want to install Delphi on does not have internet access.
In this section, we are going to use the standard Online Installer, using the download link provided by
the website (for trial or CE versions) or in the confirmation email. You will need to have administration
rights on Windows to be able to install Delphi. On one of the first installer screens, you will be
prompted to enter the serial number that you have received from Embarcadero, and you will need
to enter your Embarcadero Developer Network (EDN) username and password. If you do not
have an EDN account, you can quickly create one from within the installer or on the website (my.
embarcadero.com). It is free and it makes the connection between the serial number that you
have received and you as the user of the software.
After the initial installation, as shown in Figure 1.1, you can choose which platforms and additional
features you want to install. You can always add or remove platforms and features from the Tools |
Manage Platforms menu item of the Delphi IDE after the installation is complete:
6 Fasten Your Seat Belts

Figure 1.1: Platform Selection in Delphi 12

The list that’s displayed depends on your license, which might include both Delphi and C++ languages
(as in the preceding screenshot) or only Delphi. I recommend going for the full installation, selecting
all platforms and all additional features, except for languages other than English. At the end of the
installation, you will see the message that the installation is complete, and you can start working.
If you run into problems during the installation, you can review Delphi Installation Notes on
Embarcadero DocWiki at https://docwiki.embarcadero.com/RADStudio/en/
Installation_Notes.
Another random document with
no related content on Scribd:
Virtue, I thought thee a substance, Oh, vi. 176.
Virtue is not their habit, etc., iii. 21.
Virtue may chuse the high or low degree, etc., v. 76; vi. 440.
visions, as poetic eyes avow, And, etc., i. 112; v. 9; vi. 82; vii. 121.
vision splendid, And by the, etc., iv. 345; xii. 236, 242.
visions, swift, sweet, and quaint, And there lay, x. 266.
vital signs that it will live, iv. 364; vi. 421.
Vive la Charte! xii. 456.
Vix ea nostra voco, xii. 73.
Voice-music, v. 323.
voice of nature cries, Still from the tomb the, etc., vi. 327.
void made in the Drama, to see a, viii. 476.
volcano burnt out, a, ix. 60.
volumes that enrich the shops, the, etc., xii. 177.
volume paramount, No single, ix. 152 n.
Vous aimez la botanique, vi. 319.
vows made in haste, etc., xii. 201.
vows made in pain, etc., xii. 126.
vox et præterea nihil, xii. 313.
vox faucibus hæsit, vii. 202; ix. 375.

W.
waft a thought from Indus to the Pole, That, iv. 189.
walked gowned, v. 335; vii. 42.
walking under, And still, etc., ix. 10, 63.
wandering mazes I found no end, in their, etc., vii. 223.
wandering through dry places, etc., xi. 213.
wandering voice, v. 103.
want of decency is want of sense, viii. 242.
want of store and store of want, v. 323.
wanton poets, v. 250.
War is a game which were their subjects wise, etc., xi. 249.
war was a thing that was quite going out of fashion, i. 50.
Wars he well remembered of King Nine, v. 38; vi. 323.
wars he well remembers, The, iii. 116.
wars of old Assaracus, the, etc., vii. 254.
warbled his love-lorn ditties all night long, viii. 240.
warm hearts of flesh, etc., i. 13, 135.
See real.
warn and scare be wanting, to, etc., vi. 156.
Was this the face that launch’d a thousand ships, etc., v. 205.
wasteful and superfluous excess, xii. 60.
waste her sweetness on a blackguard air, xi. 374.
water blushed into wine, The, viii. 53.
water parted from the sea, viii. 321, 451.
watery Aquarius, of, iv. 305 n.
way lies right: hark, the clock strikes at Enfield, The, etc., v. 294.
we behold the fulness of the spirit of wit and humour bodily, i. 278.
we convent nought else but woes, v. 258.
We had good talk, sir, vii. 33.
We have been soldiers and we cannot weep, etc., v. 257.
We have offended, oh! my countrymen! etc., iii. 242.
We’ll tak a cup of kindness yet, etc., v. 131.
We may kill those of whom we are jealous, etc., ii. 391.
we might spill our blood, that, etc., iii. 62.
We miss our servants, Ithocles and Orgilus, etc., v. 270.
We perceive a continual succession of ideas, etc., xi. 109.
We poets in our youth begin in gladness, etc., v. 116.
We will dance: music; we will dance, etc., v. 272.
We would be private, only Faunus stay, etc., v. 226.
weary, stale and unprofitable, vi. 52.
web of our lives, The, etc., xii. 229.
weeds and worn-out faces, the list of, etc., viii. 393.
Weep’st thou already? List awhile to me, v. 211.
well assured, I am, etc., v. 328.
Well done, thou good and faithful servant, etc., xi. 321.
Well done, water, ix. 25.
Well, enjoy one another; I give her thee frankly, Apelles, etc., v.
202.
Well, let us to Endymion, etc., v. 199.
well of native English undefiled, vi. 245.
welling out of the heart, v. 28.
went up into the mountain to pray, And, etc., xii. 261.
Whan that Arcite to Thebes comen was, etc., v. 29.
What a thing! Bless the king, viii. 469.
What are thy arts (good patriot, teach them me), etc., v. 264.
What avails from iron chains, etc., xii. 124.
What can be more extraordinary, than that a person of mean birth,
etc., vi. 110; viii. 61.
What can ennoble sots, or knaves, or cowards, etc., vii. 363; xi.
436.
What can we reason, but from what we know? iv. 113; vii. 51, 249.
What death is’t you desire for Almachildes? etc., v. 220.
what delicate wooden spoons shall I carve? etc., viii. 109; x. 29.
What do I see? Blush, grey-eyed morn and spread Thy purple
shroud upon the mountain tops, etc., v. 291.
What, do none rise? No, no, for kings indeed are Deities, etc., v.
208.
What found most employment, etc., i. 157 n.
What from this barren being do we reap, xi. 425.
What I have written, I have written, iv. 340; vi. 57.
What idle progeny succeed, etc., vii. 74.
What is great Mephostophilis, so passionate, etc., v. 205.
What is the human understanding? etc., xi. 133.
What is this world? etc., ii. 300.
What lacks it then, ix. 25.
What! man, ne’er pull your hat upon your brows, vi. 39.
What, Monsieur D’Olive, the only admirer, etc., v. 231.
What more felicity can fall to creature, vii. 181; xii. 2, 200.
What Muse for Granville will refuse to sing, vi. 367.
What said my man, when my betossed soul, viii. 210.
What’s serious he turns to farce, xi. 479.
What shall it profit a man, etc., xii. 300.
What song the Syrens sang, etc., v. 335.
What speed could be the herald of this news, etc., xi. 284.
What, then, went ye forth for to see, iv. 202; ix. 556.
What things have we not seen done at the Mermaid, vi. 192.
What though the radiance, which was once so bright, i. 119; vi. 23;
ix. 195; xii. 236.
What trash are their works, taken altogether, viii. 416.
What was my pride is now my shame, etc., viii. 192, 320.
what was new and what was true, it contained a great deal both of,
vi. 146.
Whate’er Lorraine light touch’d with soft’ning hue, etc., vi. 13; ix.
425.
Whatever attracts public attention to the Arts, etc., i. 148.
whatever is, is right, vi. 314.
wheels, put a spoke in the, xii. 291.
When a Tartarean darkness overspreads, etc., iii. 281.
When Adam delved and Eve span, etc., v. 164.
When chapman billies leave the street, etc., v. 132.
When Greek meets Greek, etc., vii. 34.
when he next does ride abroad, And, etc., xi. 305.
when he was young, studying his art, etc., vi. 130 n.
When I read the researches of those learned antiquaries, etc., v.
124.
When I was in my father’s house, etc., vii. 222.
When one is considering a picture or a drawing, etc., vi. 19.
When sharp is the frost, etc., ii. 195.
when she spake, Sweet words like dropping honey, And, etc., viii.
364; ix. 207.
When the date of Nock was out, etc., xi. 374.
When the sky falls, iii. 297.
When we become men, we put away, etc., vii. 256.
When wind and rain beat dark November down, viii. 471.
Whence alone my hope cometh, ii. 326.
Where did you rest last night, viii. 263, 310.
Where is the madman, etc., iii. 240, 285.
Where Murray, long enough his country’s pride, etc., v. 77.
Where one for sense and one for rhyme, iv. 278.
Where pure Niemi’s fairy banks arise, etc., v. 342.
Where pure Niemi’s fairy mountains rise, etc., v. 89.
Where slaves no more their native land behold, iii. 20.
Where the treasure is, etc., viii. 132; xi. 509.
Whereas, in the succession of thoughts, etc., xi. 287.
Whether it is the human figure, etc., vi. 136.
Which after in enjoyment quenching, iv. 145.
Which as me thought was right a pleasing sight, etc., v. 27.
Which Copland scarce had spoke, but quickly every hill, etc., xi.
284.
Which I was born to introduce, Refined it first, and shew’d its use,
v. 279.
Which when Honoria view’d, etc., xii. 323.
While by the power Of harmony, etc., vii. 290.
While groves of Eden vanish’d now so long, etc., ix. 349.
While I beheld things with astonishment, etc., i. 54.
While with an eye made quiet, xii. 238.
while yet the year is unconfirmed, v. 96; xii. 270.
whiles some one did chaunt this lovely lay, the, etc., v. 36.
whist players, that set of, vii. 131.
whiteness of her hand, the, viii. 97.
Who did essay to laugh, etc., viii. 27.
Who enters here forgets himself, etc., vi. 89.
Who enters there must leave all hope behind, etc., vii. 194.
Who far from steeples and their sacred sound, iii. 276.
Who had been beguiled, etc., ii. 347.
who have eyes, but they see not, etc., v. 79.
who have none to help them, iv. 2.
who is our neighbour? iv. 204; v. 184.
Who prized black eyes, and a lucky hit At bowls, above all the
trophies of wit, v. 189; vii. 207 n.
who rode upon a rouncie, etc., v. 24.
who still slept while he baus’d leaves, etc., v. 225.
who were by nature slaves, xi. 302.
who would not grieve if such a man there be, iv. 252.
whoever comes to shroud me, do not harm, etc., viii. 52.
whole history exactly followed, and many of the principal speeches,
etc., i. 218.
whole loosened soul, ix. 151.
whole need not a physician, The, i. 58; xii. 174.
wholly in his subject, v. 340 n.
whom the king had deigned to salute, viii. 443.
whom the world was not worthy, of, vii. 136.
whose boast it was to give out reformation to the world, ix. 246.
whose coming seems a light, etc., iv. 358.
whose genius had angelic wings, and fed on manna, xi. 514.
Whose is the superscription? vii. 29.
Whose jewels in his crisped hair, etc., viii. 71.
Whose noise whets valour sharp, like beer, etc., viii. 63.
whose parish was wide, etc., v. 24.
whose studie was but litel of the Bible, v. 24.
Whosoever shall stumble against this stone, etc., iii. 260.
Why, dance ye, mortals, etc., xii. 57.
Why did I write? What sin to me unknown, etc., v. 78.
Why dost thou shiver and shake? Gaffar Gray, etc., ii. 138.
Why do you let that fair girl? etc., x. 273.
Why, good father, why are you so late, etc., v. 292.
Why, Hodge, was there none at home thy dinner for to set? v. 287.
Why how now, saucy jade, viii. 255.
Why is’t not strange to see a rugged clerke, etc., v. 190.
Why make that little fellow a captain, i. 97.
Why proffer’st thou light me for to sell? etc., i. 227; vii. 255.
Why rack a grub—a butterfly upon a wheel? iv. 305 n.
Why rail they then if but one wreath of mine, etc., v. 77; xii. 31.
Why shulde I not as well eke tell you all the purtreiture, etc., v. 30.
Why troublest thou us before our time? x. 376.
wicked cease from troubling, In which the, iv. 104.
widow in his line of life, he has a, viii. 98.
widow’s curse that hangs upon it, Some, viii. 290.
wielded at will the fierce democracy, etc., vii. 264.
Wild strains, iv. 305.
wild wit, invention ever new, vi. 308; viii. 74.
wilderness, of one crying in the, etc., xii. 261.
wilful man must have his way, A, iv. 264.
will be of sure sale, etc., i. 142.
will, could not be disarmed, as if his, etc., vi. 40.
will never from my heart, ii. 297.
will of a virtuoso, The, etc., vi. 119 n.
wind and water, he hit the stage between, iv. 227; vii. 271; xi. 409.
wind into a subject like a serpent, as Burke does, Does he, vii. 275;
viii. 103.
windy fan of painted plumes, xi. 479.
wine of attic taste, with, xii. 146.
wine of life is drank up, xii. 152.
winged words, xii. 293.
winged wound, ii. 311.
winglet of the fairy humming-bird, Or, etc., iv. 353.
wink and shut their apprehensions up, iv. 251; vi. 76; xi. 480; xii.
315.
wisdom in a multitude of counsellors, iii. 2.
wisdom is justified of her children, vii. 163.
wisdom of parliament, the tried, iii. 164.
wise above what is written, x. 325; xii. 343.
wise passiveness, in a, i. 46 n.; xii. 47.
wiser in his generation, etc., iii. 42.
wisest amongst us is a fool in some things, the, etc., vii. 238 n.
wisest and most accomplished man is like the statues of the gods,
the, etc., ii. 408.
wisest, meanest of mankind, The, vii. 99; xi. 538.
wisest thing a man can do with an aching heart, the, viii. 82.
wish is father, The, etc., xii. 39.
Wishing to be like one more rich in hope, etc., xii. 199.
Wit at the helm, etc., xii. 178.
See Youth.
witch the world with noble horsemanship, x. 28.
witchery of the soft blue sky, the, vi. 92; vii. 373; viii. 411.
with all his heart, and soul, etc., vii. 305.
with cheerful and confident thought, iii. 126.
with conditions, x. 372, 373.
with him a wit is the first title to respect, viii. 77.
with limbs of giant mould, v. 8.
with silver streams, v. 323.
with what a waving air she goes along the corridor, etc., ii. 331; vi.
96.
With what measure they mete, it has been meted to them again, v.
53.
Within his bosom reigns another lord, etc., x. 396; xi. 327.
within these arms thou art safe, etc., viii. 265.
without benefit of clergy, viii. 53.
without form and void, i. 112; v. 341 n.; xi. 81, 128, 176.
without limitations or restrictions, x. 363.
without o’erflowing, full, i. 222; xi. 473.
without suffering loss and diminution, iv. 371.
wit’s a feather and a chief’s a rod, A, etc., xi. 342 n.
Wittenberg, Would I had never seen, etc., vii. 224.
Woe unto you when all men shall speak well of you, iv. 331.
wolds and sholds, xi. 375.
Woman, behold thy son, v. 184.
Woman is like the fair flower in its lustre, i. 65; v. 107; viii. 194.
woman that deliberates is lost, the, iii. 193.
woman who follows her husband to a prison, The, etc., viii. 280.
Women and wine are the sustainers, etc., iii. 226.
Wonder, And near him sat ecstatic, etc., xi. 409.
wonderful works of nature, Oh the, xi. 556.
wondering senates, Though, etc., vii. 168; xii. 388.
Wooden spoons shall I carve, Oh, what delicate, etc., viii. 109; x.
29.
wooden walls of old England, xii. 404.
woods as green, Here be, etc., v. 254; vi. 183.
woods, to the waves, to the winds, To the, etc., xi. 358.
word is a good word, being whereby a man, the, etc., i. 391.
word which the slave utters, It is the, etc., viii. 309.
words of Mercury are harsh, The, etc., vii. 16.
words of truth and soberness, the, etc., iv. 264.
Wordsworth! That dunce, vii. 104.
work, he challenged essoin, From every, etc., vi. 111.
works, ye shall know them, By their, etc., ix. 207.
workers in brass or in stone, etc., x. 124.
world and its dread laugh, the, xii. 304.
world, both pure and good, a, xii. 129.
world enough, Had we but, etc., xii. 48.
world forgetting, by the world forgot, The, vii. 114.
world is too much with us, early and late, The, i. 6.
world rings with the vain stir, the, xii. 312.
world’s encumbrance they did themselves assoil, From all this, i.
82.
world’s volume, i’ the, Our Britain seems as of it, ix. 84.
worldly goods them endow, with its, etc., viii. 393.
worn them as a rich jewel, etc., ix. 106.
worshipped a statue, hunted the wind, etc., vi. 97, 236; xii. 435.
worshippers of cats and onions, xi. 197.
worst inn’s worst room, In the, etc., iv. 350.
worst of every evil is the fear, The, xii. 128.
worst, the second fall of man, the, vi. 152 n.; xi. 382.
Worth makes the man, etc., xii. 251.
worthless as in shew, vi. 248.
worthless importunity in rags, iv. 8.
worthy of all acceptation, vii. 229; viii. 107.
Would he had blotted a thousand, v. 85.
Would to God that I had remained, etc., vi. 93.
wound up for the day, vii. 210.
wounded snake dragged their slow length, like a, etc., x. 298.
wretches hang that Ministers may dine, If, iv. 326.
wretched have no country, The, viii. 307.
wreck of matter and the crush of worlds, The, xi. 512.
write a fable of little fishes, If he were to, etc., viii. 102.
write by stealth, Or, etc., xii. 44.
writes himself armigero, xii. 221.
writer of third-rate books, a, i. 403.
wrought himself to stone, vii. 89.

Y.
Yarrow unvisited, v. 146; vi. 256.
Yea in this now, while malice frets her hour, etc., iii. 113.
yellow tufted banks and gliding sail, With, ix. 36.
yellow forest-leaves, When on the, etc., xii. 436.
Yes—’twas a cause as noble and as great, etc., iii. 318.
Yes, yes; but they got a supersedeas, etc., v. 228.
Yestreen, when to the trembling string, etc., v. 140.
Yet, for he was a scholar once admired, etc., v. 206.
Yet not more sweet, etc., i. 110; v. 40.
Yet on that wall hangs he too, etc., viii. 54.
Yet should the Graces all thy figures place, etc., vii. 93.
Yon cottager, who weaves at her own door, etc., v. 94.
You are an honest man, v. 279.
You left us no choice between the highest point of glory, etc., iii. 11.
You sing your song with so much art, vii. 64.
You will find nothing in the world so amiable as Nature and me, v.
119.
you would make them talk like great whales, i. 421.
You’ll forgive me, etc., v. 237.
young Nobleman with a glove, A, etc., vi. 15.
Your hand I’ll kiss, etc., v. 243.
Your name, Sir? Politick. My name is Politick, viii. 43.
your very nice people, iv. 44 n.
Youth at its prow, etc., iv. 221.
youth has some parts, some ideas, the, ii. 131.
Youth that opens like perpetual spring, v. 253.
youthful poets dream of when they love, ix. 237.

Z.
Zanetto, lascia le donne, et studia la matematica, vi. 326.
R.

R—— (Lord), vi. 374.


R—— (Mr) (? Roscoe or Railton), vi. 387.
R—— (Major), ii. 200.
Rabelais, François, i. 43, 51, 52, 80, 138; iii. 128, 287 n.; iv. 217, 328;
v. 56, 111, 113; vi. 86, 109; vii. 311, 323; viii. 10, 28, 29, 30, 31; ix.
155, 166; x. 99, 112 n.; xi. 383, 519; xii. 22, 37.
Race for Dinner, A (Rodwell’s), xi. 375.
Rachael and Laban (in Genesis), v. 183.
Rachel weeping for her Children (Raphael’s), ix. 71.
Racine, Jean, vii. 336;
also referred to in ii. 179, 401; iii. 119, 258; vi. 49, 223; vii. 83, 185,
311, 323, 410; viii. 29, 31, 122, 287, 334; ix. 27, 29, 106, 115–8,
129, 152, 154, 242; x. 40, 97, 98, 105–7; xi. 371, 443, 452, 454 n.,
460–1; xii. 37, 340.
Radcliffe, William, x. 212 n.
Radcliffe, Mrs, v. 102, 146; viii. 123, 125–7; x. 24, 41, 212 n., 296; xi.
422; xii. 64.
—— Library, The, ix. 46, 70.
Radicofani, Fort, ix. 227, 229.
Radnor, Lord, vi. 13; ix. 54, 57, 422; xi. 203.
Rae, Alexander, viii. 180, 183, 228, 264, 278, 280, 286, 292, 300,
316, 355, 404, 413, 449, 450, 465; xi. 302, 393, 398, 403.
Railton, Mr (of Liverpool), vi. 514.
Rainbow, A (Rubens’s), vii. 291.
—— Tavern, vi. 193.
Raising of Lazarus (Haydon’s), xi. 485.
Rake’s Progress (Hogarth’s), i. 31; vi. 454; viii. 138, 143, 144, 147; ix.
81, 391; xii. 145, 366.
Raleigh, Sir Walter, i. 56; v. 175, 211, 298; vi. 367.
Ralph (Bickerstaffe’s Maid of The Mill), ii. 83.
—— (Reynolds’ Servant), vi. 443.
—— Mr (a doctor), ii. 232.
Ralpho (in Butler’s Hudibras), viii. 65.
Ramadan, The Feast of, xii. 334.
Rambaud de Vaquieras, x. 55.
Rambler (Dr Johnson’s), i. 96; vi. 225; vii. 6, 36, 226; viii. 100, 104.
Ramsay, Allan (poet), ii. 78.
—— Allan (portrait painter), vi. 420, 432; ix. 39.
Ramsey, Rev. James, ii. 194.
Randall, Jack (pugilist), vi. 202; vii. 72; xii. 1, 14.
Ranelagh, Lady, portrait (Kneller’s), xii. 364.
Ranger (in Hoadly’s The Suspicious Husband), vi. 275; viii. 163; xii.
24.
Rans, Mr, of Moorhall, ii. 221, 225.
Ranz des Vaches, vi. 35 n.
Rape of the Lock (Pope’s), i. 26; ii. 397; v. 72, 73, 373; viii. 134; ix. 76,
354; xi. 495, 497, 505, 506; xii. 154 n.
—— of Proserpine (Mola’s), ix. 25.
Rape (Rubens’s), ix. 72.
—— of the Sabines (Rubens’s), ix. 14; (John of Bologna’s), ix. 219.
Raphael, i. 9, 70, 76, 78–9, 86, 92, 131, 139, 142, 145, 148–9, 151, 156,
161, 163, 333, 442; ii. 276, 288, 361, 365, 376, 386, 387, 390, 406;
iii. 169; iv. 217, 244, 334; v. 11, 45, 144, 164, 178, 297; vi. 12, 14, 41,
45, 74, 132, 138–9, 158, 163, 171, 173, 212, 220, 259, 295, 297, 321,
339, 340, 346–8, 353, 392, 399, 400, 413, 414, 430, 433, 441, 449,
453, 459; vii. 57, 59, 61, 63, 94, 98, 100, 101, 107, 120, 124, 126,
148, 157, 158, 164, 167, 178, 199, 203, 216, 245, 284, 285–7, 291,
293 n., 329, 360; viii. 99, 147, 148–9, 273; ix. 7, 10–12, 18, 21, 25,
29, 30–1, 41, 43–8, 52, 59, 67–8, 71, 73–4, 107, 110 n., 112–3, 130,
163–4, 193, 205–6, 223–4, 226, 232, 237–40, 261, 272–3, 311,
313, 317, 338, 343, 349, 359–64, 367, 369, 379, 380–5, 394, 403–
5, 408–10, 412, 417, 427, 429, 433, 473–5, 480, 482, 489, 491; x.
17, 77, 179, 181, 190, 192, 197, 201, 204, 206, 278, 281, 300; xi. 190,
197, 210–2, 214–5, 217, 226–8, 232, 234 n.; 240 n., 242, 255, 258,
373, 456, 461, 464, 482, 519, 548 n., 590; xii. 36, 155 n., 168, 189,
190, 197, 208, 209, 223, 274 n., 277, 330, 337, 389, 426, 433.
Rapid, Young (in Morton’s A Cure for the Heart-Ache), vi. 275.
Rashleigh, Osbaldistone (Scott’s Rob Roy), iv. 248.
Rasselas (Johnson’s), v. 110, 114; viii. 102; xi. 573.
Rastadt (a town), ix. 298.
Ratcliffe Highway, vii. 69; ix. 480.
Rationalist and a Sentimentalist, A Dialogue between a, vii. 179.
Ravenna, ix. 207; x. 63, 409, 411; xi. 486.
Ravens, or the Force of Conscience (? Pocock’s), viii. 537.
Ravens, or the Pangs of Conscience, The (from the French), xi. 304.
Ray, Miss Martha, ii. 391.
Raymond, Monsieur, ii. 46.
—— Mr (actor), viii. 189, 264.
—— Mounchersey (in Merry Devil of Edmonton), v. 293.
Razor (in Vanbrugh’s Provoked Wife), viii. 79.
Razzi, Giovanni Antonio dei, ix. 167.
Read, Isaac, ii. 184.
Reading (town), xii. 4, 13, 14.
—— New Books, On, xii. 161.
—— Old Books, On, vii. 220.
Reapers (W. Collins’s), xi. 246.
Reason and Imagination, On, vii. 44.
Rebecca (in Scott’s Ivanhoe), iv. 243, 250; vi. 399; viii. 424, 426; xi.
381.
Rebellion, History of the (Clarendon’s), iv. 212; vii. 229.
—— of 1715, The, iii. 171.
—— of 1745, The, iii. 171.
Recess, The (Mrs Radcliffe’s), viii. 127.
Recherche de la Vérité (Malebranche’s), xi. 287.
Recluse (Wordsworth’s), x. 162; xi. 512.
Reconciliation, The (in Liber Amoris), ii. 297.
Recorder, The (in Return from Parnassus), v. 284.
Recruit, The (Farquhar’s Recruiting Officer), xi. 556.
Recruiting Officer, The (Farquhar’s) viii. 285; also referred to in iii.
156; vi. 434; vii. 227; viii. 89; xi. 556.
Red Cross Knight, The (Spenser), xi. 503.
Red Reever of Westburn Flat (Scott’s Black Dwarf), viii. 129.
Redgauntlet (Scott’s), vii. 314 n., 319.
Redi, Francesco, ix. 218; x. 303.
Reeve, John, ii. 142; viii. 412; xi. 366, 368, 369.
Reflections (Burke’s). See French Revolution, Reflections on.
—— on Exile (Bolingbroke’s), vi. 100.
Reflector, The (a paper), i. 31 n., 271 n.; ix. 391 n.
Reform, The New School of, Essay XVII., vii. 179.
Reformation, The, i. 88, 430; iii. 293; iv. 83 n.; v. 173, 181, 185, 192;
vi. 155; vii. 314; viii. 54; ix. 420; x. 125, 126, 334.
Reformation in England (Milton’s), iii. 283 n.
Refusal, or, The Ladies’ Philosophy (Cibber’s), viii. 513.
Regal Character, on the, iii. 305; vi. 284.
Regalia in the Tower, vi. 16.
Regan (Shakespeare’s King Lear), i. 188, 392; viii. 447.
Regent, Prince, i. 141; iii. 48, 107, 112, 121, 123, 124–5, 190 n., 228,
229, 298, 305, 314; iv. 358 n.; vi. 388; viii. 301; ix. 233, 312, 321,
464; xi. 423.
Regent Street, xii. 120.
Regent’s Canal, i. 141.
—— Park, xi. 386, 572.
Reggio (a town), x. 69.
Regicide Peace (Burke’s), iii. 13 n., 61, 94, 335; iv. 284.
Regnault de St Jean Angely, xi. 333.
Regulus, iv. 205; xi. 319; xii. 99, 103.
—— (Salvator’s), x. 297.
Rehearsal, The (Villiers), iii. 399; viii. 69; ix. 319.
Rehoboam, iii. 146.
Reid, Thomas, vi. 64.
Reigate, ix. 90.
Reis, Ada, xii. 329 n.
Rejected Addresses (Horace and James Smith), v. 164; vi. 400; viii.
24; xi. 341.
Relapse, The (Vanbrugh’s), viii. 79, 82, 83.
Religio Medici, The (Browne’s), v. 334.
Religion in the Desert (Sir F. Bourgeois), ix. 20.
Religious Communion (Champagne’s), ix. 110.
—— Hypocrisy, On, i. 128.
—— Musings (Coleridge’s), iv. 202, 217; v. 164.
Reliques (Percy’s), vii. 252.
Remains (Chatterton), v. 376.
—— (Erasmus), xii. 214.
Rembrandt (Hermanszoon van Rhyn), i. 76, 78, 85, 121, 141–3, 146,
147, 149, 151; ii. 180, 406; iii. 169; iv. 277; v. 9, 164; vi. 7, 9, 12, 21,
43, 45, 123, 134, 173, 317–8, 321, 339, 344; vii. 57, 107–8, 118–20,
291, 360; viii. 149, 474; ix. 13–14, 20–22, 36, 38, 49, 50, 51, 59, 62,
64, 66, 67, 73, 107, 110, 164, 197, 226, 300–1, 311, 314, 316–7, 338,
344, 347, 365, 372, 387, 388–9, 409, 427, 435, 472, 474–5; x. 179,
181, 192, 197, 204, 207; xi. 212–3, 219, 244, 256, 455, 458, 464; xii.
36, 157, 208, 209, 238, 439.
Reminiscences (Kelly’s), vi. 352.
Remorande, Mrs, ii. 215.
Remorse (Coleridge’s), iii. 450; iv. 219; v. 147; vi. 314; viii. 247, 336,
368, 416, 421; xii. 275.
Renaldo (Ariosto’s), v. 224.
Reni, Guido. See Guido.
Rennell, Miss, viii. 248, 451.
Rent Day (Wilkie’s), viii. 140; xi. 251 n., 252.
Renton Inn, Berwickshire, ii. 436–7.
Reply to the Essay on Population, by the Rev. T. R. Malthus, iv. 1.
Repose (Titian’s), ix. 239.
—— in Egypt (Raphael’s), ix. 52.
“Republic” (Plato’s), iii. 122.
Respectable People, On, vii. 360; xi. 433.
Restoration, The, v. 354; xii. 456.
Retaliation (Goldsmith’s), iii. 421; v. 120, 376; vi. 401; vii. 197; xii.
207.
Retirement, On (Cowley’s), viii. 58.
Retreat of the Ten Thousand under Xenophon, vi. 107; xii. 431.
Retrospect, The (Dermody’s), ii. 280.
Retrospective Review, The (periodical), xii. 320.
Returne from Parnassus, The (old Cambridge Comedy), v. 274;
also referred to in v. 190, 224, 280, 283.
Return from the Promised Land (Poussin’s), ix. 109.
Retz (Cardinal), vi. 238, 349.
Reve, The (Chaucer’s), v. 24.
Revelation, The Book of, v. 183; vii. 96; ix. 320, 355; xi. 313.
Revely, Mrs Maria, ii. 174.
Revenge, The (Edward Young’s), v. 115; viii. 227; xi. 398.
Revenger’s Tragedy, The (Tourneur’s), v. 246.
Reveries of a Solitary Walker (Rousseau’s), vii. 372 n.; ix. 297.
Review (Defoe’s), x. 359, 361.
Revolution of 1688, iii. 33, 99, 109, 171, 263, 279, 284, 302, 314; iv.
83 n.; v. 106; vi. 154, 181; vii. 322, 373; viii. 155, 160; ix. 170; x.
249, 356, 358, 374.
—— of the Low Countries, The, iii. 302.
—— of Switzerland, The, iii. 302.
—— of the Three Days, xii. 461 n.
—— of the United States, The, vi. 155.
Revolutionist’s Jolly Boat (Gilray’s), vi. 455.
Reynolds, Frederick, ii. 201, 207; vi. 350.
—— (John Hamilton), viii. 480, 548.

You might also like