MaiXinRong 5 年之前
父節點
當前提交
0a711f0730
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;