[Lazarus] Setting TStringGrid row/col border styles
Gary Randall
randall.gary at gmail.com
Mon Mar 24 19:19:38 CET 2014
Thank you for your help Reinier and Howard. Let me give you some background.
I'm evaluating Lazarus/FPC to convert a large Excel engineering scheduling
VBA program (16K lines of code x 3 similar modules) to Pascal. I developed
it in VBA for a friend because Excel's formatting and shape controls made it
easy to prototype the look and feel he wanted. Unfortunately, we can't use
Excel to distribute it commercially because of it's lack of security and the
need to revise it to run under constantly changing MS Office. The program
is stable in 32 bit and we'd like to have it run on other platforms.
Besides that, I really loved Delphi when I used it years ago and have
converted one engineering program with Lazarus already. Our program does
not need spreadsheet calculation capability since almost all data is entered
directly, or pasted from form and shape controls. From what I see so far,
Lazarus will let me do everything once I learn the finer details of existing
controls and relearn how to build components.
On the stringgrid, I should have said that I specifically need to change
SOME cell's attributes, such as cell borders, and I think it will need to
use DrawGrid. I have read everything I can find find, such as the grid
reference you recommended, but this old brain has the remnants of too many
languages in it to sort it out quickly. It's gotten too used to IDEs that
step you through object properties, events, etc.. From what I've read in
the archives, the standard procedure is to go to the Lazarus source code and
track down undocumented parameter and type requirements. I hope I'm missing
some documentation. I intend to pursue the Lazarus solution and would be
glad to do what engineers do - tabulate my findings.
If someone can tell me how to post a .png image to the forum I can show you
the stringgrid format I need. It's not complicated, but I need to duplicate
what we've created. Any help is appreciated and I will reciprocate any way
I can.
Gary
--
View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Setting-TStringGrid-row-col-border-styles-tp4036389p4036405.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
More information about the Lazarus
mailing list