celltype 有 FocusPosition属性
- var textcellType = new FarPoint.Win.Spread.CellType.TextCellType();
- textcellType.FocusPosition = FarPoint.Win.Spread.CellType.EditorFocusCursorPosition.FirstInputPosition;
- fpSpread1.ActiveSheet.Cells[0, 0].CellType = textcellType;
复制代码 |