This textbook is currently available as a pdf (1200 pages). It covers structured and object-oriented programming in Delphi (version 7 to version 10.4). Delphi is based on Object Pascal which is simple and straightforward to use. Programming for mobile and tablet platforms as well as Windows and macOS X is covered in depth. 2D and 3D graphics are also covered as well as network programming and database programming. The book shows how to connect to and embed SQL in Delphi programs for a range of databases from Microsoft Access through Interbase to MySQL. Machine learning is addressed using components written for Delphi. The book shows how to program the Arduino microcontroller in Delphi to monitor temperature. Anonymous functions in Delphi are also covered.