Getting started in Delphi

Just for the record: this is not scary!

Delphi is nice and simple to use, and although regarded as a cop-out by some elite-ists, is an incredibly powerful tool for creating nice pretty Win32 applications (And also some Linux ones too now, see kylix).
Even if your final program is not going to be written in Delphi (or rather, Object Orientated Pascal), then you can create working mock-ups in a very short amount of time using Delphi.

But more to the point, its what some coursework is done in :-P

So; some links to get started:

What is going on?

OK, so you have been to the download link, got your registration key and installed it. But WTF is it?
Well, its an IDE (Integrated Developer Environment) which basically means its got all the tools you need to go forth and write some amazing programs :-D

So what has it got?
  • An Editor, with text highlighting (so you aren't staring at what may as well be notepad)
  • A Compiler (so that your code will be turned into something which is executable)
  • A Debugger (to find the errors, help you trace variables [we'll get to this later] etc...)
  • Code Insight! (This is amazing, more on this later but basically its for lazy bums like me who cant be bothered to type more than 3 characters at a time!)
  • GUI interface (Always useful on the eyes after 5 hours solid on intravenous caffeine)
  • GUI Previews/WYSIWYG (So you can see what your program will look like before you compile it)
  • A todo list for forgetful.. uh.. (Ho ho ho.)
  • Objects Panel (To quickly select and add Components [more on which later])
  • Object Inspector (To edit the properties of said components and implement their methods)
And much more funky little bits that I've probably forgotten about, but thats the main stuff.

Well? What the hell are all these bits?

A nice little graphical walkthrough...

The Editor:
The Delphi Editor

The Compiler:
You dont really see this.. it just exists, trust me ;)

The Debugger:

Code Insight (yay!):

GUI Interface:
This really is self-explainatory. You can see from the images that its not text based... but below is a nice WYSIWYG form for you to look at too...

WYSIWYG (What You See Is What You Get):
An example from my Graphics coursework :P

Objects Panel:

Object Inspector:

And thats an overview of the main parts of Delphi. Just to get you into the terminology and such. More on what they do etc shortly...

stringfellow made this page.

Page last modified on Wed, 21 Nov 2018 17:37:18 +0000