Hi folks,
I want to change the text in a TwwdbGrid for a particular item. The
following code doesn't work:
procedure TformREDB.dbgridSearchCalcCellColors(Sender: TObject; Field:
TField;
State: TGridDrawState; Highlight: Boolean; AFont: TFont; ABrush:
TBrush);
begin
if (field.name
Title: RE: [DUG]: TwwdbGrid
I think the problem is (I could be wrong here) that by changing then Field.Text you are actually attempting to change the underlying datasets field data, which is, by the looks of it, a float or currency field.
From what I can tell you want to put a '+' sign
recipients of list delphi [EMAIL PROTECTED]
Sent: Wednesday, August 15, 2001 5:09 AM
Subject: [DUG]: TwwdbGrid
Hi folks,
I want to change the text in a TwwdbGrid for a particular item. The
following code doesn't work:
procedure TformREDB.dbgridSearchCalcCellColors(Sender: TObject; Field:
TField
Title: RE: [DUG]: TwwdbGrid
Thanks
James for the code, this works great!
As you
wrote, using the OnDrawDataCell Event is apparently obsolete! What's the
alternative?
TIA
John
-Original Message-
I think the problem is (I could be
wrong here) that by changing then Field.Text
recipients of list
delphiSubject: RE: [DUG]: TwwdbGrid
Thanks James for the code, this works great!
As
you wrote, using the OnDrawDataCell Event is apparently obsolete! What's the
alternative?
TIA
John
-Original Message-
I think the problem is (I could
Hi all,
Is there any way of enlarging the size of a grid in a TwwDBGrid. This to
allow multiple lines for a 100 character field cell.
I can do this at design-time or at run time, but when the associated table
is closed and opened again, the cell size is back to a single line and 100
characters
Try unticking the "use Tfields for storage".
-Original Message-
From: John Christenhusz [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Date: Friday, 19 May 2000 06:02
Subject: [DUG]: TwwDBGrid
Hi all,
Is there any way of enlarging the size
PROTECTED]
From: "John Christenhusz" [EMAIL PROTECTED]
Subject: [DUG]: TwwDBGrid
Date sent: Thu, 18 May 2000 21:41:19 +1200
Hi all,
Is there any way of enlarging the size of a grid in a TwwDBGrid. This to
allow multiple lines for a 100