在EditModeOn 事件中设置EditModeCursorPosition
- private void FpSpread1_EditModeOn(object sender, EventArgs e)
- {
- var editor = fpSpread1.EditingControl as FarPoint.Win.Spread.CellType.GeneralEditor;
- if (editor != null)
- {
- editor.EditModeCursorPosition = FarPoint.Win.EditModeCursorPosition.SelectAll;
- }
- }
复制代码 |