View Full Version : Should I Convert TStringAlignGrid 2.1 or use TStringGrid ???

13-06-2010, 03:20 AM
(edited slightly and pasted below)

[Lazarus] Should I Convert TStringAlignGrid 2.1 or use TStringGrid ??? http://www.hoerstemeier.com/
Peter E Williams foss.game.pascal.developer at iinet.net.au
Thu Jun 10 23:15:17 CEST 2010

http://www.hoerstemeier.com/ (based on Delphi 6)

Hi All,

Should I convert the .pas and .dfm files into lazarus .pas and .lfm files ??? Or should I use the standard lazarus TStringGrid component ???

I used Andy Hoerstemeier's TStringAlignGrid components for my Delphi 5 Enterprise games (freeware open source)... In particular I loved the TAlgrid. These days I use Linux Ubuntu 10.04 LTS and Lazarus for cross platform open source game development... & I am porting my Delphi code to Lazarus.

I need to port some Delphi code to Lazarus... which turns out to be very easy once I have Lazarus installed. I simply use the Tools / Convert DFM to LFM ... menu option. Yes, I am also aware of the Tools / Convert Delphi to Lazarus menu option. :-)

I use Andy's TStringAlignGrid v2.1 (TAlgrid) in about 4+ of my games instead of the standard TStringGrid. ( I have a link to Andy's component on my website's Delphi Source Code page ... have done for 11 years or more!!! ) http://www.hoerstemeier.com/

The features I use are:

* changing cell fonts and by row and column
* changing cell and grid cell colours individually and by row and column.
* cell, column & row alignment
* probably some other stuff which does not come to mind.

Andy's units are too complicated for my needs but I remember them as being very powerful and excellently written :-))) I have not looked at you code in years.

Thank you for reading this... and I look forward to hearing from you.


Proudly developing Quality Cross Platform Open Source Games
Since 1970 with a Commodore PET 4016 with 16 KRAM
http://pews-freeware-games.org (<<=== brand new and I hope to have it up in a few weeks)

13-06-2010, 07:56 AM
I'll just say that you can propably do that aswell with standard TStringGrid by using onPaint kind of events and manually drawing it the way that application needs. Adding images on background or maybe even animations...