[Lazarus] Stringgrid

Michael Van Canneyt michael at freepascal.org
Wed Aug 13 09:51:22 CEST 2008



On Wed, 13 Aug 2008, Alex du Plessis wrote:

> Michael Van Canneyt wrote:
> > On Wed, 13 Aug 2008, Alex du Plessis wrote:
> >
> >   
> >> Hello List
> >>
> >> Once again I am working with the Drawcell method of a stringgrid in 
> >> order to change the color of the cell background and font. 
> >>
> >> When a drawcell event is defined, regardless of what the procedure 
> >> does(it could even be empty) all titles of colums in a fixed row is not 
> >> drawn ie they disappear and cannot be resurrected until the drawcell 
> >> procedure is removed.
> >>     
> >
> > This is normal, you must draw everything yourself then ?
> >
> > Michael.
> >
> >   
> No problem with that - are there any resources where I can find out how 
> it is done?

I just wrote an article on grids, but I didn't treat custom drawing,
although I played with it. I could do most things by using the other
callbacks.

Michael.



More information about the Lazarus mailing list