| Learn about: properties, events and Delphi Pascal | |||||||||||||||||
| Page 1: Placing Components on a Form | |||||||||||||||||
Welcome to the fourth chapter of the FREE online programming course: Creating your second Delphi Application To start, run Delphi. As explained, when you run Delphi a new project (application) is created with one blank form.
Placing Components on a Form As stated before, Delphi supplies a number of components for you to create complex user interfaces. You can find all the components you can place on a form on the Component palette. To place a component on a form, locate its icon on the Palette and double-click it. This action places a component on the active form. Visual representation of most components is set with their set of properties. When you first place a component on a form, it is placed in a default position, with default width and height. You can change the size and position later, by using the Object Inspector.
Note: to remove a component from a form, click on it and press the [Del] key. Later, in this Course, I'll explain what happens to code (if some exists) associated with the component.
Your second Delphi application ![]() Double click the following three components:
Using drag-and-drop to rearrange the components to appear on a form similar to: ![]() Note: even though at this stage of the Course, it is not important to create "nicely looking" user interfaces, I strongly encourage you to always try to arrange components on form so they create a user friendly interface. Here are some suggestions and Standards of Screen Design. Next page > Changing Component Properties; Writing Code - Events and Event Handlers > Page 1, 2 A Beginner's Guide to Delphi Programming: Chapter 5 >> |
|||||||||||||||||



