Creating a Simple Word Processor

Delphi User's Guide

This chapter shows you how to create a small word processor from scratch with just a few lines of code. It will be able to load and save files, use the clipboard, and will have dialog boxes for character and paragraph formatting, a ruler, a status bar and full keyboard and mouse interface.

The source code for this example is contained in the Samples\Delphi\Simple sample source directory.

Creating the Project

Creating the Controls

Connecting the Controls

Running the Program

Setting the Page View

Resizing the Controls

Adding a Menu

What Comes Next