你好,请使用以下代码测试:
- Private Sub RadioButton2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton2.Click
- If Me.RadioButton2.Checked = True Then
- Me.FpSpread1.TabStripPolicy = FarPoint.Win.Spread.TabStripPolicy.Never
- Me.FpSpread1.Sheets.Count = 2
- Me.FpSpread1.Sheets(0).Visible = True
- Me.FpSpread1.Sheets(1).Visible = False
- End If
- End Sub
复制代码 隐藏 TabStrip 成功,效果图:
png
|