[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
BeginnersGuideToBasic » VI » MFC » CppOpenCv » WhatLinksHere » VBNET_ArraySort » WINDOWS vs DOS » CPP-Beginners-Tutorial-III » talk:CCPlusPlus » Calculating and Validating NMEA Checksums » BeginnersGuideToDelphi

Beginners Guide To Delphi

Admin request: Someone please view some of the original Beginner's Guides (VB, Perl) and update this page to match.

What Is Delphi?

Delphi, Borland's powerful Windows© and Linux© programming development tool first appeared in 1995. It derived from the Turbo Pascal© product line.

As the opposition took heed of Turbo Pascal, and caught up, Borland took a gamble on an Object Oriented version, mostly based on the Pascal object orientation extensions. The risk paid off, with a lot of the success due to the thought underlying the design of the IDE (Integrated Development Environment), and the retention of fast compilation and execution.

This first version of Delphi was somewhat limited when compared to today's heavyweights, but succeeded on the strength of what it did do. And speed was certainly a key factor. Delphi went through rapid changes through the 1990's.

For some additional historic information see:
http://www.delphibasics.co.uk/Article.asp?Name=DelphiHistory

Delphi is the most efficient RAD tool (Rapid Application Development) for Windows. The user interface of a Delphi application is based on forms, that hold all the components that you need to get and display information: buttons, menus, labels, edit boxes, listboxes,... The programming language used is Object Pascal, as it is based fully on objects.

Delphi comes with an large library of predefined visual components, the so-called VCL. With these components, you can very quickly "compose" the interface of your application in a visual way, while Delphi generates the necessary code for you.

Usage of the Delphi environment:
  • You put components on the form by using drag & drop, next you write event handlers (routines) that are fired by events like clicking buttons or menu items, moving the mouse pointer, pressing keyboard keys, and so on...
  • Delphi continually synchronizes the code with your visually composed forms.
  • You can edit the properties of the components that you dropped on the form: color, font, text (caption), size, 3D layout, alignment,...
  • Compiling the application is just a click of a button. It's the fastest compiler around.
Basics: the IDE
The Delphi IDE (Integrated Development Environment) is made up of four main parts:
  • Menu bar plus toolbars
    • it's where all the commands and shortcut buttons are for building, compiling and debugging your application
    • contains a component palette, with lots of predefined components: buttons, labels, panels,...
  • Object Inspector
    • where you set the properties of your components: color, caption, name,...
    • if you don't set properties, Delphi uses default values
  • Form window
    • where you see the forms as you build them
    • shows exactly how your program's forms (windows) will look like at runtime
  • Code editor
    • where you see the code that Delphi generated
    • and where you can add your own code
There are numerous other windows that can be opened in the IDE: menu designer, debugger windows, a very sophisticated context-sensitive Help system, code explorer (facilitates navigation in the code), code completion, and so on.

last edited (December 1, 2003) by pritaeas, Number of views: 12622, Current Rev: 7 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Site Management by Lars Hagelin at Kontantkort.se.