the calculation routine can set fld.readonly:=false do it's
thing and then set fld.readonly:=true.
ns
-----Original Message-----
From: Mark Derricutt <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Wednesday, 06 September 2000 11:40
Subject: [DUG]: TDBGrid.Columns[i].ReadOnly?
>'lo - for some reason when I set my DBGrid's TColumn to ReadONly := True,
>I can't even edit the underlying TField. Is there anyway I can make it
>that a particular field cannot be edited by the grid, but edited by code
>at the field/dataset level? (the field is to be automatically filled by a
>calculation routine).
>
>Mark
>
>
>---------------------------------------------------------------------------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>To UnSub, send email to: [EMAIL PROTECTED]
>with body of "unsubscribe delphi"
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"