View Issue Details

IDProjectCategoryView StatusLast Update
0005411JEDI VCL00 JVCL Componentspublic2012-02-29 16:55
ReporterCDamettoAssigned ToAHUser 
Status resolvedResolutionfixed 
Product Version3.40 
Target VersionFixed in Version3.45 
Summary0005411: The option dgAlwaysShowEditor of JvDBGrid does not work as the standard DBGrid one
DescriptionThe option dgAlwaysShowEditor in JvDBGrid does not always show the editor.
Additional InformationI have partially changed this behavior by making these changes to the file JvDBGrid.pas:

In subfunction ForwardMovement of TInternalInplaceEdit.KeyDown procedure, at Line 869, change the cast:

  Result := dgAlwaysShowEditor in TJvDBGrid(Grid).Options;

In subprocedure NextRow of TJvDBGrid.KeyDown procedure, at line 1493, add the else clause to the if:

  if AutoAppend and Eof and CanModify and not ReadOnly and (dgEditing in Options) then
    if dgAlwaysShowEditor in Options then

In near next subprocedure PriorRow of TJvDBGrid.KeyDown procedure, at line 1502, add the if after the command DoSelection(Select, -1);

  if dgAlwaysShowEditor in Options then

That's all, but remains, as the difference in behavior, that the edit doesn't appear automatically when you open the dataset, but still only when you click on a cell...
TagsNo tags attached.



2010-11-28 13:59

developer   ~0018210

Fixed in svn revision 12929.

Issue History

Date Modified Username Field Change
2010-11-19 18:38 CDametto New Issue
2010-11-28 13:59 AHUser Note Added: 0018210
2010-11-28 13:59 AHUser Status new => resolved
2010-11-28 13:59 AHUser Fixed in Version => Daily / SVN
2010-11-28 13:59 AHUser Resolution open => fixed
2010-11-28 13:59 AHUser Assigned To => AHUser
2012-02-29 16:55 obones Fixed in Version Daily / SVN => 3.45