Board index » delphi » A Dbgrid with colored cells ?
Luc Delnondedieu
![]() Delphi Developer |
Sun, 11 Jul 1999 03:00:00 GMT
|
Luc Delnondedieu
![]() Delphi Developer |
Sun, 11 Jul 1999 03:00:00 GMT
A Dbgrid with colored cells ?Dear all, We are trying to find currently a particular form of component Does somebody know if this special component exist ? Thanks for your attention. -- |
Remco Moe
![]() Delphi Developer |
Mon, 12 Jul 1999 03:00:00 GMT
Re:A Dbgrid with colored cells ?Hi Luc, All the things you ask for is present in TDBGrid. Just look to the Cheers, Remco QuoteLuc Delnondedieu <106413.1...@CompuServe.COM> wrote: |
Casteels Ja
![]() Delphi Developer |
Mon, 12 Jul 1999 03:00:00 GMT
Re:A Dbgrid with colored cells ?QuoteLuc Delnondedieu wrote: columns that are updatable Let you know me anything if you find something ... Email : JCAST...@VDAB.BE Greetings Jan Casteels Hint : If you do not find something like that you have to change the |
Michael Suedka
![]() Delphi Developer |
Mon, 12 Jul 1999 03:00:00 GMT
Re:A Dbgrid with colored cells ?106413.1...@CompuServe.COM (Luc Delnondedieu) wrote Quote> We are trying to find currently a particular form of component drawing and control each cell drawing in OnDrawDataCell. Borland has a TechInfo for this on their web site. Quote> the same time, this grid had drag and drop capabilities descendant with something like a MouseToCell function. I'd look on the Delphi Super Page for it. Michael Michael Suedkamp m...@suedkm.franken.de |
Ed Hillma
![]() Delphi Developer |
Mon, 12 Jul 1999 03:00:00 GMT
Re:A Dbgrid with colored cells ?I don't know if this helps, but I could color individual cells in a I created a form, dropped a TTable component it, and pointed it to the I thought a simple test would be, for the employee number in the Then, the only code I attached was to the DBGrid's OnDrawColumnCell procedure TForm1.DBGrid1DrawColumnCell(Sender: TObject; const Rect: This uses the DefaultDrawColumnCell method that is defined with the Hope this helps, QuoteLuc Delnondedieu <106413.1...@CompuServe.COM> wrote: |
Paul Motye
![]() Delphi Developer |
Thu, 15 Jul 1999 03:00:00 GMT
Re:A Dbgrid with colored cells ?Well you won't be surprised then - Borland wrote one!! ... and it is already in TDBGrid (well inherited from TCustomGrid in function TCustomGrid.MouseCoord(X, Y: Integer): TGridCoord; In TDBGrid it is a protected function. -- Quote> I would be very much surprised if noone had already written a free DBGrid Quote |
Vitaly Furma
![]() Delphi Developer |
Sat, 17 Jul 1999 03:00:00 GMT
Re:A Dbgrid with colored cells ?If you need DBGrid with colored cells, just visit my home page. --- |
Alain Quesne
![]() Delphi Developer |
Sat, 17 Jul 1999 03:00:00 GMT
Re:A Dbgrid with colored cells ?Here's a component that will color a complete row: By Ludovic Dubois <ldub...@prettyobjects.com> 06 Nov 1996 http://www.prettyobjects.com/RAD/dirafrm.htm interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, type TColorDataCellEvent = procedure (Sender: TObject; ARow, ACol: Integer; TColorDBGrid = class(TDBGrid) procedure ColorCell(DataCol, DataRow: Integer; const Value: string; AState: procedure Register; implementation function TColorDBGrid.HighlightCell(DataCol, DataRow: Integer; const Value: { Mettre HighLight True pour reprendre les couleurs d'une slection } procedure Register; begin RegisterComponents('Pretty Objects', end. --------------------------------------------------------------------------- Luc Delnondedieu <106413.1...@CompuServe.COM> wrote in article > We are trying to find currently a particular form of component > Does somebody know if this special component exist ? > Thanks for your attention. > -- |
1. color a cell in a DBGRID???
2. Colors in cells on DBgrid ?
3. Changing font color of DbGrid cell.
4. How to change DBGrid text color in a single cell
5. Reading the color of a cell in dbgrid
7. Typecasting Question: Changing a DBGrid's Cell Color when active
8. How to adjust the color of the column and cell lines of DBGrid