Lesson of programming in Delphi 1.


The creation of the calculator

Let's create your calculator in the programming language Delphi.



Before we start give important advice, after each new operation. save your work.(to avoid unnecessary problems in the future)

So let's begin!

Run the programa Delphi.


Now we need to save our work "save project as".(avoid dalneyschih problems)

The first thing after you save the project, create the form.(our future calculator)

For this we need:

Three tools pictured below



The result:


When the form is created begin its design.

Choose a background color, remove the superfluous and adding the necessary.(as shown in the picture below)


Now you can do the programming buttons.


addition

subtraction

multiplication

division

Now, when the job is complete it is necessary to save it one last time.

As a result, we can now go to our program folder (the place where we are all saved) and find our finished work.