Helping users accomplish a lot without doing a lot of coding, this book gives a great overview of programming in Delphi starting with the basics–form design. 23 Sep Use it to prepare for a formal introductory Delphi training course or to refresh yourself with the principles of this versatile Web-programming. DELPHI PROGRAMMING FOR DUMMIES overview and full product specs on CNET.

Author: Felkree Mazusida
Country: Solomon Islands
Language: English (Spanish)
Genre: Photos
Published (Last): 22 July 2004
Pages: 321
PDF File Size: 3.56 Mb
ePub File Size: 14.54 Mb
ISBN: 810-8-90386-667-4
Downloads: 71399
Price: Free* [*Free Regsitration Required]
Uploader: Doukree

This is done by clicking and dragging. Writing your first Delphi program.

In our instance, we are setting a Label caption: Note that we terminate this line of code with a ; – all Delphi code statements end with this indicator. Delphi does a lot of work for us delphi programming for dummies the programmer simply uses the mouse to click, drag, size and position graphical parts to build each screen of the application.

Delphi programming for dummies – Neil J. Rubenking – Google Books

This will show the form, label and button properties. So let us change the label caption when the button is pressed. Standard, Additional, Win32 and so on. Let us first look at the main program code.

When you first run Delphi, it will prepare on screen a new graphical application. If you save this code, it will save in a file called Unit1. This A will then delphi programming for dummies as selected: Note that the program is still running. Notice that the graphical element contains the text Label1 as well as resize corners. And an implementation section that holds the code that implements the interface.


We must add some code.

To run the program, we can click on the Green triangle like a Video play buttonor press F9. Do not worry about the editor window at the moment. This will automatically add an event called OnClick for the button, and add a delphi programming for dummies event handler in the program code: This code is called a Unit and delphi programming for dummies a Delphi module – one chunk of code.

And we have now finished our very simple action – we will set the label to ‘Hello World’ when the button is pressed. These actions can help you with your blog hosting as well. We can click as many times as we like with the same outcome. They are in tabbed groups: The main event for a button is a Click. If we press EnterDelphi will complete the currently selected item in the list.

Delphi Programming for Dummies

If we now return delphi programming for dummies the Standard graphical element collection, and select a button, shown as a very small button with OK on it, we can add this to the form as well: We assign a text value ‘Hello World’ to the caption property.


Ddelphi will concern ourselves here with the programmint, modern, GUI application. The unit comprises two main parts – the interface section, which tells what the unit does. We will select the simplest from the Standard collection. Let us blank out the delphi programming for dummies. This will show the code that Delphi generated to kick start your program. It is a blank form, onto which we can add various controls and information.

We have shown the form reduced in size for convenience here, but you will find it larger on your computer. It allows us to write a command spread across multiple lines – telling Delphi when we have finished the command.

The text is called the Captionand will appear when we delphi programming for dummies the application.