Impossible d'utiliser TCRDBGrid dans Rad studio 10.1 berlin update 1
Erreur signalée : Argument hors limite lorsqu'on veut poser ce composant sur une fiche.
Version sdac 7.3.13 professionnel et sdac24 version d'essai 7.3.14
			
									
									
						Erreur TCRDBGrid dans Rad studio 10.1 Berlin update 1
Re: Erreur TCRDBGrid dans Rad studio 10.1 Berlin update 1
We have already fixed this issue. This fix will be included in the next build of DAC products.
All registered users of DAC products have source code of TCRGrid located in DAC_Install_Dir\Source\, where DAC_Install_Dir is a directory where you installed DAC product.
To solve the issue, you can perform the following steps:
- open the CRGrid.pas file and replace implementation of the TCRDBGrid.CanEditShow method in it with the following:
- save changes;
- open IDE and delete Devart Controls package from [Components]->[Install Packages] ;
- recompile the following packages: crcontrolsXX.dpk, dclcrcontrolsXX.dpk;
- install dclcrcontrolsXX.dpk;
- restart the IDE.
			
									
									
						All registered users of DAC products have source code of TCRGrid located in DAC_Install_Dir\Source\, where DAC_Install_Dir is a directory where you installed DAC product.
To solve the issue, you can perform the following steps:
- open the CRGrid.pas file and replace implementation of the TCRDBGrid.CanEditShow method in it with the following:
Code: Select all
function TCRDBGrid.CanEditShow: boolean;
begin
  if (Columns.Count = 0) or (Assigned(SelectedField) and (SelectedField is TMemoField)) then
    Result := False
  else
    Result := inherited CanEditShow;
end;- open IDE and delete Devart Controls package from [Components]->[Install Packages] ;
- recompile the following packages: crcontrolsXX.dpk, dclcrcontrolsXX.dpk;
- install dclcrcontrolsXX.dpk;
- restart the IDE.