View Issue Details

IDProjectCategoryView StatusLast Update
0006528JEDI VCL00 JVCL Componentspublic2020-05-19 10:13
ReporterMichael TiekeAssigned Toobones 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionnot fixable 
Product VersionDaily / GIT 
Target VersionFixed in Version 
Summary0006528: JvDBGrid Rowsheight out of Range
DescriptionDrop a JvDBGrid/JvDBUltimGrid on a form, set AutoSizeRows to false. After starting the program you get a RowsHeight error: argument out of range.

Problem started with Delphi 10.1 Berlin Update 1
TagsNo tags attached.

Activities

ealanach

2016-10-19 00:16

reporter   ~0021402

See RAD Studio issue RSP-15872.
A workaround is given there (Dmitry Arefiev 18/10/2016):

<quote>
This issue is major regression in Berlin 10.1 Update 1. The persistent fix will be included into Update 2 (time frame is not known at this moment). As a workaround at run-time please do the following:

    open Vcl.DBGrids.pas
    locate there TCustomDBGrid.CanEditShow method
    replace it code with:

    function TCustomDBGrid.CanEditShow: Boolean;

    begin

      Result := (LayoutLock = 0) and inherited CanEditShow;

    end;

add path to <RAD Studio run-time sources path>\Data\vclctrls to your IDE Delphi Library Path. It is the path where Vcl.DBGrids.pas is located. Is it ?
recompile your application.
<\quote>

I had to use wordpad to save the edited file but after this both TDBGrid and the decendent TjvDBGrid worked again.

obones

2018-07-18 15:49

administrator   ~0021512

Could you check if the issue is still present in the latest GIT content? If yes, please provide the zipped sources of an application showing this.

mh

2019-03-11 22:45

reporter   ~0021643

Has it been fixed in Berlin update 2? If yes is there still a need to change this?

obones

2020-05-19 10:13

administrator   ~0021913

This is fixed by Delphi itself

Issue History

Date Modified Username Field Change
2016-09-29 15:16 Michael Tieke New Issue
2016-10-19 00:16 ealanach Note Added: 0021402
2018-07-18 15:49 obones Note Added: 0021512
2018-07-18 15:49 obones Status new => feedback
2019-03-11 22:45 mh Note Added: 0021643
2020-05-19 10:13 obones Assigned To => obones
2020-05-19 10:13 obones Status feedback => resolved
2020-05-19 10:13 obones Resolution open => not fixable
2020-05-19 10:13 obones Note Added: 0021913