View Issue Details

IDProjectCategoryView StatusLast Update
0002602JEDI VCL00 JVCL Componentspublic2005-04-22 05:36
ReporterXigiAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version3.10 
Summary0002602: JvDBGrid ignores AutoAppend = False in Edit State
DescriptionIn TJvDbGrid
Pressing down arrow key on the last record inserts new line even with AutoAppend = False, if dataset is in dsEdit state.
(Start to edit a field, then press down arrow)

Thx a lot
TagsNo tags attached.

Activities

barbarochi

2005-04-01 08:14

reporter   ~0006821

Had the same problem, try my work around
procedure TFormMain.dbgKeyDown(Sender: TObject; var Key: Word;
  Shift: TShiftState);
begin
    if (Key = VK_DOWN) or (Key = VK_TAB) or (Key = VK_UP) or (Key = VK_RETURN) then
begin
      if Self.dbg.Dataset.fieldbyname('firstfield').IsNull then
      Self.dbg.Dataset.cancel;
    end;
end;

obones

2005-04-22 05:36

administrator   ~0007038

This is now solved in CVS

Issue History

Date Modified Username Field Change
2005-02-04 10:32 Xigi New Issue
2005-04-01 08:14 barbarochi Note Added: 0006821
2005-04-22 05:36 obones Status new => resolved
2005-04-22 05:36 obones Resolution open => fixed
2005-04-22 05:36 obones Assigned To => obones
2005-04-22 05:36 obones Note Added: 0007038