MaiXinRong 5 jaren geleden
bovenliggende
commit
0a711f0730
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      Frames/BGLFme.pas

+ 1 - 1
Frames/BGLFme.pas

@@ -293,7 +293,7 @@ end;
 procedure TBGLFrame.zaBGLGridCellCanEdit(Sender: TObject;
   const ACoord: TPoint; var Allow: Boolean);
 begin
-  if _IsCloud and Allow and ACoord.Y < FBGLData.cdsBGLView.RecordCount then
+  if _IsCloud and Allow and (ACoord.Y <= FBGLData.cdsBGLView.RecordCount) then
     Allow := FBGLData.GetBGLCanEdit(ACoord.Y - zgBGL.FixedRowCount);
 end;