private void Form1_Load(object sender, EventArgs e)
{
// シート数を3に設定
fpSpread1.Sheets.Count = 3;
// タブストリップをコントロール上部に配置
fpSpread1.TabStripPlacement = FarPoint.Win.Spread.TabStripPlacement.Top;
// シートタブの表示色等を変更
fpSpread1.TabStrip.DefaultSheetTab.BackColor = Color.LightPink;
fpSpread1.TabStrip.DefaultSheetTab.ForeColor = Color.Blue;
fpSpread1.TabStrip.DefaultSheetTab.Size = 120;
fpSpread1.TabStrip.ActiveSheetTab.BackColor = Color.Red;
fpSpread1.TabStrip.ActiveSheetTab.ForeColor = Color.White;
fpSpread1.TabStrip.ActiveSheetTab.Size = 120;
fpSpread1.TabStrip.ButtonPolicy = FarPoint.Win.Spread.TabStripButtonPolicy.Never;
fpSpread1.ActiveSheetIndex = 1;
fpSpread1.InterfaceRenderer = null;
fpSpread1.DefaultSkin.InterfaceRenderer = null;
fpSpread1.VisualStyles = FarPoint.Win.VisualStyles.Off;
}
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
' シート数を3に設定
FpSpread1.Sheets.Count = 3
' タブストリップをコントロール上部に配置
FpSpread1.TabStripPlacement = FarPoint.Win.Spread.TabStripPlacement.Top
' シートタブの表示色等を変更
FpSpread1.TabStrip.DefaultSheetTab.BackColor = Color.LightPink
FpSpread1.TabStrip.DefaultSheetTab.ForeColor = Color.Blue
FpSpread1.TabStrip.DefaultSheetTab.Size = 120
FpSpread1.TabStrip.ActiveSheetTab.BackColor = Color.Red
FpSpread1.TabStrip.ActiveSheetTab.ForeColor = Color.White
FpSpread1.TabStrip.ActiveSheetTab.Size = 120
FpSpread1.TabStrip.ButtonPolicy = FarPoint.Win.Spread.TabStripButtonPolicy.Never
FpSpread1.ActiveSheetIndex = 1
FpSpread1.InterfaceRenderer = Nothing
FpSpread1.DefaultSkin.InterfaceRenderer = Nothing
FpSpread1.VisualStyles = FarPoint.Win.VisualStyles.Off
End Sub