
What's New - July, 2015
July 8, 2015:
Chess PGN (Portable Game Notation) is a widely used format for recording chess
games for historical or study purposes. There are many playback
programs available and the world didn't need another. However a DFF
viewer requested it about 10 years ago and I couldn't locate an existing one in Delphi, and
it sounded like (and was) an interesting project.
Chess PGN Version 5,2 posted today has a
small change which doesn't change the executable results but prevents aborted
execution after recompiling with data range checking.
July 17, 2015: A couple of years ago I posted a bulk Find and Replace
program which would scan text files in a given folder which match given
file name mask and change all occurrences of a given string to a new replacement
string. I recently needed to process a set of files of email
addresses and replace all "@" characters with commas (",") so that Excel could
automatically break out the website address parts into a separate column.
The files happened to be in Unicode character format (2 bytes per character)
which my program didn't handle correctly.
Find and Replace Version 2
posted today corrects that. Both ANSI and Unicode character files can now
be processed correctly.
July 28, 2015: A fellow Delphian recently asked if it was possible to
highlight a particular word wherever it occurred in a DBGrid. I gave him some suggestions but didn't hear, back so I decided
to try it for myself. I used a StringGrid to create a demo in our Delphi
Techniques section which should transfer to DBGrids. As usual (and
thankfully), there were a few unexpected complications to sharpen problem
solving skills and keep programming fun. Check out the
GridWordHighlight
page for more information and downloading the code.
|