Starting with Delphi and Basic Features - 1

Starting with Delphi and Basic Features - 1

Delphi spelling rules, block control statements and variable definition form are taken from Pascal. Therefore, it is relatively easy for those with Pascal knowledge to learn Delphi. This convenience is not so important to study Pascal before Delphi.

At the first boot, a blank form (Form1) opens. You can see the properties of Form1 in the Object Inspector on the left. This form is our main form (for now). You can think of the form as an object carrier. You can move the left of this form to the desired size by tapping left.

If we run the program by pressing karşılaş RUN kısm (green right arrow button) or F9, we will see an empty form (window) at the top of it.

Press the atı X ”button to review the windows buttons at the top of Form1, then close the program and return to the delphi environment.

Works with Delphi objects. So we have a number of ready-made objects (objects), we put together these objects appropriately and write our programs. Trowel, hammer, concrete, iron, water, door, window, M. they are all objects. We can make a house by bringing these objects together according to our purpose. Here is how to write programs with delphi.

Delphi objects palette (Camponent palette)

Delphi objects in general: TForm, TEdit, TLabel, TButton, TMemo, TPanel, TComboBox, TListBox ...

Each object has a number of properties. These features can be divided into 2 groups;

  1. Design time properties
  2. (Dynamic) properties that can only be edited during program execution (run time properties)

a) Events at work

b) Other features

All features that can be edited at the design stage can also be edited at runtime. All features in the design phase are available in the Object Inspector-Properties tab.

Please check the design features of Form1. Observe changes in Form1 by changing the values ​​of these properties. You must click the Object Inpector-Events tab to view events that occur at runtime. In this section you will see that there is no value against the events. You must encode the works that you want to do when these events happen (for some time now, wait a little) Bu

The Object Inspector window reflects its properties, which object is selected. You can read which object is selected at the top of this window.

Click to view more and more detailed lessons in pdf format.