HOME - - / - - / - -
LAZARUS/ DELPHI TUTORIALS
Other material for programmers
Lazarus / Delphi Course:
A series of exercises to help you make a quick start in Delphi or Lazarus programming
Page URL: DT100index.htm
Learn Lazarus! (or Delphi)
These pages are information rich.
Please don't dismiss them simply because they aren't full of graphics, scripts, cookies, etc!
You will probably find the text easier to read if you make your browser window much narrower than usual. You may also want to change your browser's zoom level, to enlarge the text. Opera (at least) lets you change zoom level easily. The text will adapt nicely to the settings you decide give the best results for your needs!
The lines of sample Lazarus/ Delphi code in these pages will not "wrap". I.e., if a line is too long to show in the width you have set your browser too, parts of the line will be "off the page". Those lines will still copy/paste properly, at least in Opera. Please feel free to send feedback on the choices I've made! (Will you forgive me for not forcing upon you a column of links on the left and a column of ads on the right?)
This a series of exercises. You will probably be best served by doing them in sequence... each assumes some prior knowledge. Material © TK Boyd, sheepdogsoftware.co.uk, 4/05-11/20.
This is the index to what I hope will grow into series of lessons on Lazarus/ Delphi programming. The same principles apply to Lazarus programming... I hope you will find that most of the tutorials word exactly the same way under Lazarus. If you encounter any difficulties, I would be grateful for a comment from you. (Please tell me the URL ("www. thingie" of the page you are commenting on.)
I had been publishing Lazarus/ Delphi tutorials for years and decided the time had come to begin a structured series of essays. They are for the dedicated student, someone willing to work through a program which will touch all bases in a logical sequence. If, on the other hand, you are a Google Junkie (like myself), not too disciplined, if you just want to know, now, how to...., then you'll probably be happier with my Tutorials.... which also work well for Lazarus too.
A quick note about the favicon you should be seeing on your browser tab, etc:
It has "L L" in it. That is for "Learn Lazarus". Just so you know. (^_^)
If you need an .ico file, favicon.io
offers a great, no hassle service generating favicon.ico files for you. (Oct 22) No need to register, etc. Upload your artwork, download a .zip with a variety of Useful Stuff. Open the .ico sent with that with Gimp and you may be surprised! Either I've been asleep, or .ico have got rally clever. There seem to be three different versions of the icon "inside" that.
They also have the off-white background color, which I hope you will find kinder on your eyes than the usual white, anyway.
These pages are a carefully managed sequence of essays, best visited in order. Versus the nearly random(!) collection of thoughts on my Lazarus tutorial pages
Lazarus / Delphi Course
You will get the greatest benefit from these if you work through them from first to last. You probably already know some Lazarus or Delphi. If you do, the first lessons should take very little time, but they are still valuable to you, so that we are on the same page in every detail. Programming is not an activity for people who don't care about details.
Where you see "Fully Lazarus-ified" below, the tutorial has been edited since January 2020, and if anything previously in it didn't Just Work under Lazarus, explanations are present in the tutorial.
Many of the un-checked tutorials will work fine under Lazarus.
There is important stuff in Where to put things, how to create backups. Not all of that will be immediately accessible to some readers. The more trouble you take over it, the more often you return to it until all of it does make sense to you, the faster your Lazarus skills will develop. The material is touched on here and there in many of the early tutorials, but the matters discussed will distract you until you are fully on top or them.
First Lesson: Hello World... Everyone: please start with this one. (Fully Lazarus-ified (See above for what that means!))
Very simple data lookup... with several general points covered along the way. (Fully Lazarus-ified)
Inches to centimeters: A converter... The "OnChange" event. (Fully Lazarus-ified. Heavily re-worked 6/20 to bring up to Win10/Laz 2.0.0)
(Short!) Essay: Events, multitasking... The first essay. No application or hands-on... just some stuff you need to grasp. (Fully Lazarus-ified)
Second stab at data lookup... A first use of arrays. Etc. (Fully Lazarus-ified)
A first look at (simple!) graphics... in which you learn about loops. (Fully Lazarus-ified)
"Proper" graphics... with odds and ends arising. (Fully Lazarus-ified)
A better converter... and we meet menus and radio buttons! (Fully Lazarus-ified)
Using Strings (and things)... Containers. Hierarchies.
Essay: Naming of Parts... Software, hardware.
More chunky graphics... an easy lesson, mostly recap, but also we meet TrackBars for the first time.
More Strings: First Codes... Manipulating string data.
More Strings: Manipulation... Pretty patterns.
Search across all of my sites with a Google search button. There's one on another of my pages. (It's at the top of the page the link will take you to.)
Use this to search THIS site.... (Go to my other sites, below, and use their search buttons if you want to search them.)
The search engine merely looks for the words you type, so....
* Spell them properly.
* Don't bother with "How do I get rich?" That will merely return pages with "how", "do", "I"....
Please also note that I have two other sites, and that this search will not include them. They have their own search buttons.
My SheepdogSoftware.co.uk site.
My site at Arunet.
Ad from page's editor: Yes.. I do enjoy compiling these things for you... I hope they are helpful. However.. they don't pay my bills!!! If you find this stuff useful, (and you run an MS-DOS or Windows PC) please visit my freeware and shareware page, download something, and circulate it for me? Links on your page to this page would also be appreciated.
Click here to visit editor's Sheepdog Software freeware, shareware page.
Link to Delphi Tutorials main page
To email this page's editor, Tom Boyd....
Editor's email address. Suggestions welcomed! Please cite "dt100index.htm".
Page has been tested for compliance with INDUSTRY (not MS-only) standards, using the free, publicly accessible validator at validator.w3.org. Mostly passes.
One final suggestion: Be sure you know all you need to about spyware.
. . . . . P a g e . . . E n d s . . . . .