Re: [Lazarus] Setting TStringGrid row/col border styles

2014-03-25 Thread Reinier Olislagers
On 25/03/2014 01:44, Gary Randall wrote: > Thanks Howard. I did as you suggested. I also did some more searching and > found the Lazarus Component Library help file (lcl.chm) which gives me the > component spec's I was looking for. You may have noticed the link to those official LCL docs at the

Re: [Lazarus] Setting TStringGrid row/col border styles

2014-03-24 Thread Gary Randall
Thanks Howard. I did as you suggested. I also did some more searching and found the Lazarus Component Library help file (lcl.chm) which gives me the component spec's I was looking for. Gary -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Setting-TStringGrid-

Re: [Lazarus] Setting TStringGrid row/col border styles

2014-03-24 Thread Howard Page-Clark
On 24/03/2014 18:19, Gary Randall wrote: If someone can tell me how to post a .png image to the forum I can show you the stringgrid format I need. Once logged in, go to the appropriate forum board (say Lazarus General) and click the [New Topic] button. As well as filling in the subject field

Re: [Lazarus] Setting TStringGrid row/col border styles

2014-03-24 Thread Gary Randall
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

Re: [Lazarus] Setting TStringGrid row/col border styles

2014-03-23 Thread Reinier Olislagers
On 22/03/2014 22:04, Howard Page-Clark wrote: > On 22/03/2014 20:53, Gary Randall wrote: > may be all you need, without custom drawing. Apart from Howard's suggestion you'll find a lot of info on Lazarus on the wiki - in this case http://wiki.lazarus.freepascal.org/Grids_Reference_Page -- __

Re: [Lazarus] Setting TStringGrid row/col border styles

2014-03-22 Thread Howard Page-Clark
On 22/03/2014 20:53, Gary Randall wrote: ... Specifically, I need to change the penstyle and weight of row/col borders. The public properties: GridLineColor GridLineStyle and published property GridLineWidth may be all you need, without custom drawing. Howard --

[Lazarus] Setting TStringGrid row/col border styles

2014-03-22 Thread Gary Randall
I'm new to Lazarus/FPC but had a lot of Delphi experience over 20 years ago. I'm baffled finding help for customizing stringgrid to use different row/col border styles, etc.. I understand that I need to use the OnPrepareCanvas and OnDrawCell events and have made some minor progress setting custom