N/A
10-04-1999, 10:22 PM
Hi, i need a TDBGrid Component where the lines have alternating background colors (like "oldish-style" endless printer paper ;-) ...RecNo and DBi... work only for dBase and Paradox-Tables :(. Solutions starting at TDBGrid.DrawColumnCell or developing a "new" component with a "new" DrawCell work only when the complete Grid is drawn - scrolling line by line will cause at the end of the grid sort of blockcopy on the screen: colororientation hast to change (but how will i know?).
So my 2 questions: Is there already such a component? Is there any way to get the canvas of a TDBGrid into a TBitmap Component to use ScanLine to detect the color of the gridrow above or below the actual one? (Canvas.Pixels works *only* in the actual cell :(
Thanks Sven
So my 2 questions: Is there already such a component? Is there any way to get the canvas of a TDBGrid into a TBitmap Component to use ScanLine to detect the color of the gridrow above or below the actual one? (Canvas.Pixels works *only* in the actual cell :(
Thanks Sven