回复 1楼xiafu568的帖子
可以使用以下方法设置焦点位置:
- int row = this.fpSpread1.Sheets[0].ActiveRowIndex;
- int col = this.fpSpread1.Sheets[0].ActiveColumnIndex;
- if (true)
- {
- this.fpSpread1.Sheets[0].SetActiveCell(row, col);
- this.fpSpread1.StartCellEditing(null, false);
- }
复制代码 |
|