PowerTools SPREAD for Windows Forms 8.0J
ResetCanFocus メソッド (StyleInfo)


CanFocusプロパティをデフォルト値にリセットします。
構文
'Declaration
 
Public Overridable Sub ResetCanFocus() 
'使用法
 
Dim instance As StyleInfo
 
instance.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 メンバ

 

 


© 2004-2015, GrapeCity inc. All rights reserved.