View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006528||JEDI VCL||00 JVCL Components||public||2016-09-29 15:16||2020-05-19 10:13|
|Reporter||Michael Tieke||Assigned To||obones|
|Product Version||Daily / GIT|
|Target Version||Fixed in Version|
|Summary||0006528: JvDBGrid Rowsheight out of Range|
|Description||Drop 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
|Tags||No tags attached.|
See RAD Studio issue RSP-15872.
A workaround is given there (Dmitry Arefiev 18/10/2016):
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:
locate there TCustomDBGrid.CanEditShow method
replace it code with:
function TCustomDBGrid.CanEditShow: Boolean;
Result := (LayoutLock = 0) and inherited CanEditShow;
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.
I had to use wordpad to save the edited file but after this both TDBGrid and the decendent TjvDBGrid worked again.
||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.|
||Has it been fixed in Berlin update 2? If yes is there still a need to change this?|
||This is fixed by Delphi itself|
|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|