您好,
我使用以下代码,没有能够重现这个问题。
- fpSpread1.ActiveSheet.Protect = true;
- fpSpread1.ActiveSheet.LockBackColor = Color.LightCyan;
- fpSpread1.ActiveSheet.LockForeColor = Color.Green;
- FarPoint.Win.Spread.Column columnobj;
- columnobj = fpSpread1.ActiveSheet.Columns[0, 3];
- columnobj.Locked = true;
- FarPoint.Win.Spread.Cell cellobj;
- cellobj = fpSpread1.ActiveSheet.Cells[1,1,1,2];
- cellobj.Locked = false;
- fpSpread1.ActiveSheet.Cells[1,0,1,4].Text = "First Five";
复制代码 |