What's New - September 2013[Home]
September 1, 2013: I had an interesting email conversation a few weeks ago with an older gentleman who programs in Delphi as a hobby and was having some trouble with bitmaps and making the mouse interact with a StringGrid. I was able to help him and decided to post this program, String Grids and Bitmaps, in our Delphi Techniques section to pass along what we both learned. September 8, 2013: George has provided another opportunity for me to teach (and learn) Delphi programming techniques this week. His problem was how to sort several hundred file names with embedded numbers so that numeric values were honored. The default lexicographic sort arranges these sample files names as ( A1.gif, A10.gif, A1A.gif) because comparisons are made left to right and in the 3rd position "." comes before "0" comes before "A". Delphi's TStringList component however has a CustomSort feature which allows us to sort in the desired sequence as (A1.gif, A1A.gif, A10.gif). Program CustomStringListSort illustrates how it can be dome. September 21, 2013:
My British friend, George, has provided material for
all three projects this
month. Here is a
"Delphi Techniques" program,
Blend Drawing Demo, which explores
his latest problem: semi-transparent shading of a selected quadrant of a
TImage bitmap. Extensions added features to control blend color,
intensity, location, and speed "just for fun".
|
|