MESCIUS SPREAD for Windows Forms 17.0J
ResetCanFocus メソッド (StyleInfo)

CanFocusプロパティをデフォルト値にリセットします。
構文
'Declaration
 
Public Overridable Sub ResetCanFocus() 
public virtual void ResetCanFocus()
FarPoint.Win.Spread.StyleInfosi=newFarPoint.Win.Spread.StyleInfo();
DialogResultdlg;
si.CanFocus=true;
fpSpread1.ActiveSheet.DefaultStyle=si;
dlg=MessageBox.Show("Resettheabilitytoreceivefocus?");
if(dlg==DialogResult.OK)
{
si.ResetCanFocus();
FpSpread1.ActiveSheet.DefaultStyle=si;
}
DimsiAsNewFarPoint.Win.Spread.StyleInfo
DimdlgAsDialogResult
si.CanFocus=True
FpSpread1.ActiveSheet.DefaultStyle=si
dlg=MessageBox.Show("Resettheabilitytoreceivefocus?")
Ifdlg=DialogResult.OKThen
si.ResetCanFocus()
FpSpread1.ActiveSheet.DefaultStyle=si
EndIf
参照

StyleInfo クラス
StyleInfo メンバ

 

 


© MESCIUS inc. All rights reserved.