Thats odd - its normally automatic 

If you assign a value to a field, it ends upcalling the TDataset.SetFieldData() ,
which will normally  do    
 if not (State in [dsCalcFields, dsFilter, dsNewValue]) then DataEvent( deFieldChange, 
Longint(Field));

So if you have fields listening for changes via their datasources, their values will 
automatically get updated -(unless you have disabled the datasources or done a 
TDataset.DisableControls.)

Myles.

-----Original Message-----
From:   Rohit Gupta [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, June 02, 1999 12:17 AM
To:     Multiple recipients of list delphi
Subject:        [DUG]:        Update of edit controls - repost

Is there any way to force edit-controls to pull in modified values 
from internal buffers.  Any FieldByName.updates do not reflect into 
edit-controls.

Rohit

======================================================================
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH    (649) 489-2280 
FX    (649) 489-2290
email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
======================================================================

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

application/ms-tnef

Reply via email to