Board index » delphi » VCL.Net Grid Problem
|
JohnE
Delphi Developer |
|
JohnE
Delphi Developer |
VCL.Net Grid Problem2004-07-19 01:07:07 AM delphi250 I posted a question in delphi.vcl.components.using.dotnet about the DbGridDrawDataCell event not firing. I didn't get any answers.. can anyone else confirm this behavior? Should I post the problem on Quality Central? -- John |
| Dirk Andries
Delphi Developer |
2004-07-19 07:15:43 AM
Re:VCL.Net Grid Problem
"JohnE" <XXXX@XXXXX.COM>schreef in bericht
QuoteI posted a question in delphi.vcl.components.using.dotnet about the use DrawColumnCell. procedure TForm1.DBGrid1DrawDataCell(Sender: TObject; Rect: TRect; Field: TField; State: TGridDrawState); begin if Odd(Table1.RecNo) then DBGrid1.Canvas.Brush.Color := clMoneyGreen else DBGrid1.Canvas.Brush.Color := clSkyBlue; DBGrid1.DefaultDrawDataCell(Rect, Field, State); end; Kind regards, Dirk Andries. |
