FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > StyleInfo クラス : ResetCanFocus メソッド |
'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