View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006528||JEDI VCL||00 JVCL Components||public||2016-09-29 15:16||2019-03-11 22:45|
|Reporter||Michael Tieke||Assigned To|
|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?|