MESCIUS SPREAD for Windows Forms 17.0J
FocusPosition プロパティ (GcDateTimeCellType)

エディタがフォーカスを取得したときの初期カーソル位置を取得または設定します。
構文
'Declaration
 
Public Property FocusPosition As FieldsEditorFocusCursorPosition
public FieldsEditorFocusCursorPosition FocusPosition {get; set;}
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType inputcell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
inputcell.FocusPosition = GrapeCity.Win.Spread.InputMan.CellType.FieldsEditorFocusCursorPosition.FirstInputPosition;
inputcell.TabAction = GrapeCity.Win.Spread.InputMan.CellType.TabAction.Field;
fpSpread1.Sheets[0].Cells[0, 0].CellType = inputcell;
Dim inputcell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType
inputcell.FocusPosition = GrapeCity.Win.Spread.InputMan.CellType.FieldsEditorFocusCursorPosition.FirstInputPosition
inputcell.TabAction = GrapeCity.Win.Spread.InputMan.CellType.TabAction.Field
fpSpread1.Sheets(0).Cells(0, 0).CellType = inputcell
参照

GcDateTimeCellType クラス
GcDateTimeCellType メンバ

 

 


© MESCIUS inc. All rights reserved.