dc22wt 你好,设置方法如下:- this.fpSpread1.Sheets.Count = 2;
- //隐藏 tabstrip
- this.fpSpread1.TabStrip.ButtonPolicy = FarPoint.Win.Spread.TabStripButtonPolicy.Never;
- //设置 sheettab 高
- this.fpSpread1.HorizontalScrollBarHeight = 30;
- //设置 sheettab 宽
- FarPoint.Win.Spread.SheetTab st;
- //当前活跃 Tab
- st = fpSpread1.TabStrip.ActiveSheetTab;
- st.Size = 100;
- //非活跃 Tab
- st = fpSpread1.TabStrip.DefaultSheetTab;
- st.Size = 100;
复制代码 |