On Wed, 6 Sep 2000, Mark Derricutt wrote:

> '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

Oik, my current solution to this is to put an event in DBGrid.OnColEnter,
check the fields metadata to see if it should be calculated or not, and if
so, remove dgEditing from DBGrid.Options (otherwise put it in), works like
a treat :P

---------------------------------------------------------------------------
    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"

Reply via email to