View Issue Details

IDProjectCategoryView StatusLast Update
0001432JEDI VCL00 JVCL Componentspublic2004-04-22 02:56
ReporteranonymousAssigned Touser72 
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0001432: TJvDBSpinEdit does not update database
DescriptionTJvDBSpinEdit never sets FFieldDataLink.Modified to True when the data is modified from the interface (with clicks or keypresses).
The problem is that FFieldDataLink.Modified is never set to True (when the modification is made from the interface, clicks or keypresses).
Additional InformationI modified TJvDBSpinEdit.CMEdit to update FFieldDataLink.Modified:

procedure TJvDBSpinEdit.CMExit(var Msg: TCMExit);
begin
  try
    // >>> MODIFICATIONS START HERE <<<
    if Modified then
      FFieldDataLink.Modified;
    // >>> MODIFICATIONS END HERE <<<
    FFieldDataLink.UpdateRecord; { tell data link to update database }
  except
    SetFocus; { if it failed, don't let focus leave }
    raise;
  end;
  inherited;
end;
TagsNo tags attached.

Activities

user72

2004-03-09 01:30

  ~0003269

Thank you. Updated in CVS (NB: JVCL3! I think you are using JVCL2.10?)

Issue History

Date Modified Username Field Change
2004-03-05 15:01 anonymous New Issue
2004-03-09 01:30 user72 Status new => resolved
2004-03-09 01:30 user72 Resolution open => fixed
2004-03-09 01:30 user72 Assigned To => user72
2004-03-09 01:30 user72 Note Added: 0003269
2004-04-22 02:56 user72 Status resolved => closed