This isn't like most of my other pages... and is unlike the pages that say that!
While there's little explanation here about the code this page makes available to you, there is a lot of "tutorial" stuff to be gleaned from the free, downloadable sourcecode demonstrating the use of XOR in graphics programming.
In a nutshell, using XOR makes it really simple to make things appear and disappear on the screen. This can be used, say, to make it look like a ball is moving across the screen... homage to Pong, please!...
You draw the ball at, say, the left hand edge. Let that stay there a moment. Then "undraw" it, and (very quickly) re-draw it, but just a bit to the right of where it was before. Keep this up, and people will "see" a ball moving across the screen.
There's an .exe in the .zip which is merely what the sourcecode there produces. But you can run it to see what the sourcecode does. (By the way, it will run directly from the merely viewed .zip, but it will moan when you quit, because it is trying to write to an .ini file. No harm done, but (of course) what would have gone into the .ini file (primarily your wishes regarding the size and position of the window) is lost.
The application gives you a chance to see XOR in action, and to look at the code achieving the effects you see.
What are you waiting for? Go download it; have fun!
(The program also uses some other neat tricks unrelated to the XOR tool. Not how it manages to create a "trail" of squares appearing and disappearing. (Buttons "Button6-fast" and "Button6-slow".)
BEWARE: The search above only visits a selection of my stuff. Go to either of my other sites (see links below) and use that site's FreeFind search button, if you haven't found something you "know is there".
In addition to the tutorials for which this page serves as Table of Contents, I have other sites with material you might find useful.....
My other sites....
Sheepdog Software homepage.
My Arunet homepage.
... and some links to specific pages within them you might want....
You can't "play" all day... learn to use the Libre Office/ Open Office database. Free. Multi-platform.
The Arduino- LOTS of fun, for not much money. And beginner (intelligent beginner) friendly. And good pursuit for kids. Combine programming and electronics!
Designing printed circuit boards the KiCad way. Free. Multi-platform. Long established. PCB-fab houses take native KiCad files.
And lastly... Making maps... how we did it before GPS Indulge me? This discusses a worthwhile, fun (if presented intelligently) activity for kids, which can be undertaken on many levels... a simple 20 minutes, or weeks of engaging activity. (Also known to divert susceptible adults.)
Here is the way to contact the author of these Lazarus/Delphi tutorials, Tom Boyd.
Page tested for compliance with INDUSTRY (not MS-only) standards, using the free, publicly accessible validator at validator.w3.org. (Mostly passes. A few problems caused by Google+ code.)
If this page causes a script to run, why? Because of things like Google panels, and the code for the search button. Why do I mention scripts? Be sure you know all you need to about spyware.
....... P a g e . . . E n d s .....