FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > TabInfo Class : FirstVisibleTab Property |
'Declaration Public Property FirstVisibleTab As Integer
'Usage Dim instance As TabInfo Dim value As Integer instance.FirstVisibleTab = value value = instance.FirstVisibleTab
public int FirstVisibleTab {get; set;}
The tab index numbers are zero-based; the index number for the first tab is zero.
This property is available at run time only.
FpSpread1.Sheets.Count = 3; FpSpread1.Tab.ActiveTabBackColor = Color.Yellow; FpSpread1.Tab.ActiveTabBorderColor = Color.Red; FpSpread1.Tab.FirstVisibleTab = 1; FpSpread1.Tab[0] = "First"; FpSpread1.Tab[1] = "Second"; FpSpread1.Tab[2] = "Third"; FpSpread1.Tab.TextColor = Color.Red; FpSpread1.Tab.TabControlPolicy = FarPoint.Web.Spread.TabControlPolicy.Always; FpSpread1.Tab.VisibleCount = 2; FpSpread1.Tab.ScrollIncrement = 2; ListBox1.Items.Add(FpSpread1.Tab.Count.ToString());
FpSpread1.Sheets.Count = 3 FpSpread1.Tab.ActiveTabBackColor = Color.Yellow FpSpread1.Tab.ActiveTabBorderColor = Color.Red FpSpread1.Tab.FirstVisibleTab = 1 FpSpread1.Tab.Item(0) = "First" FpSpread1.Tab.Item(1) = "Second" FpSpread1.Tab.Item(2) = "Third" FpSpread1.Tab.TextColor = Color.Red FpSpread1.Tab.TabControlPolicy = FarPoint.Web.Spread.TabControlPolicy.Always FpSpread1.Tab.VisibleCount = 2 FpSpread1.Tab.ScrollIncrement = 2 ListBox1.Items.Add(FpSpread1.Tab.Count)
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6