⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tabhead.ctl

📁 需要控件:Active Report 2.0(专业报表控件破解版)2.0下的ardespro2.dll和arpro2.dll ARVIEW2.OCX等文件。即可打开源代码。
💻 CTL
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Begin VB.UserControl TabHead 
   Alignable       =   -1  'True
   BackColor       =   &H80000010&
   ClientHeight    =   630
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   8460
   ControlContainer=   -1  'True
   ScaleHeight     =   630
   ScaleWidth      =   8460
   ToolboxBitmap   =   "TabHead.ctx":0000
   Begin VB.Timer tmrMouseOver 
      Interval        =   1000
      Left            =   7920
      Top             =   60
   End
   Begin VB.Shape shpFocus 
      BorderStyle     =   3  'Dot
      Height          =   255
      Left            =   300
      Top             =   180
      Visible         =   0   'False
      Width           =   615
   End
   Begin VB.Line lnTabShadow 
      BorderColor     =   &H80000015&
      X1              =   1080
      X2              =   1080
      Y1              =   120
      Y2              =   420
   End
   Begin VB.Label lblTabItem 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      Caption         =   "Label1"
      ForeColor       =   &H8000000E&
      Height          =   255
      Index           =   11
      Left            =   7140
      MouseIcon       =   "TabHead.ctx":0312
      MousePointer    =   99  'Custom
      TabIndex        =   11
      Top             =   180
      Width           =   615
   End
   Begin VB.Label lblTabItem 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      Caption         =   "Label1"
      ForeColor       =   &H8000000E&
      Height          =   255
      Index           =   10
      Left            =   6540
      MouseIcon       =   "TabHead.ctx":0464
      MousePointer    =   99  'Custom
      TabIndex        =   10
      Top             =   180
      Width           =   615
   End
   Begin VB.Label lblTabItem 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      Caption         =   "Label1"
      ForeColor       =   &H8000000E&
      Height          =   255
      Index           =   9
      Left            =   5940
      MouseIcon       =   "TabHead.ctx":05B6
      MousePointer    =   99  'Custom
      TabIndex        =   9
      Top             =   180
      Width           =   615
   End
   Begin VB.Label lblTabItem 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      Caption         =   "Label1"
      ForeColor       =   &H8000000E&
      Height          =   255
      Index           =   8
      Left            =   5340
      MouseIcon       =   "TabHead.ctx":0708
      MousePointer    =   99  'Custom
      TabIndex        =   8
      Top             =   180
      Width           =   615
   End
   Begin VB.Label lblTabItem 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      Caption         =   "Label1"
      ForeColor       =   &H8000000E&
      Height          =   255
      Index           =   7
      Left            =   4740
      MouseIcon       =   "TabHead.ctx":085A
      MousePointer    =   99  'Custom
      TabIndex        =   7
      Top             =   180
      Width           =   615
   End
   Begin VB.Label lblTabItem 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      Caption         =   "Label1"
      ForeColor       =   &H8000000E&
      Height          =   255
      Index           =   6
      Left            =   4140
      MouseIcon       =   "TabHead.ctx":09AC
      MousePointer    =   99  'Custom
      TabIndex        =   6
      Top             =   180
      Width           =   615
   End
   Begin VB.Label lblTabItem 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      Caption         =   "Label1"
      ForeColor       =   &H8000000E&
      Height          =   255
      Index           =   5
      Left            =   3540
      MouseIcon       =   "TabHead.ctx":0AFE
      MousePointer    =   99  'Custom
      TabIndex        =   5
      Top             =   180
      Width           =   615
   End
   Begin VB.Label lblTabItem 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      Caption         =   "Label1"
      ForeColor       =   &H8000000E&
      Height          =   255
      Index           =   4
      Left            =   2940
      MouseIcon       =   "TabHead.ctx":0C50
      MousePointer    =   99  'Custom
      TabIndex        =   4
      Top             =   180
      Width           =   615
   End
   Begin VB.Label lblTabItem 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      Caption         =   "Label1"
      ForeColor       =   &H8000000E&
      Height          =   255
      Index           =   3
      Left            =   2340
      MouseIcon       =   "TabHead.ctx":0DA2
      MousePointer    =   99  'Custom
      TabIndex        =   3
      Top             =   180
      Width           =   615
   End
   Begin VB.Label lblTabItem 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      Caption         =   "Label1"
      ForeColor       =   &H8000000E&
      Height          =   255
      Index           =   2
      Left            =   1740
      MouseIcon       =   "TabHead.ctx":0EF4
      MousePointer    =   99  'Custom
      TabIndex        =   2
      Top             =   180
      Width           =   615
   End
   Begin VB.Label lblTabItem 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      Caption         =   "Label1"
      ForeColor       =   &H8000000E&
      Height          =   255
      Index           =   1
      Left            =   1080
      MouseIcon       =   "TabHead.ctx":1046
      MousePointer    =   99  'Custom
      TabIndex        =   1
      Top             =   180
      Width           =   615
   End
   Begin VB.Line lnLeft 
      BorderColor     =   &H80000014&
      X1              =   0
      X2              =   240
      Y1              =   480
      Y2              =   480
   End
   Begin VB.Label lblTabItem 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      Caption         =   "Label1"
      Height          =   255
      Index           =   0
      Left            =   300
      MouseIcon       =   "TabHead.ctx":1198
      MousePointer    =   99  'Custom
      TabIndex        =   0
      Top             =   180
      Width           =   615
   End
   Begin VB.Line lnRight 
      BorderColor     =   &H80000014&
      X1              =   960
      X2              =   3360
      Y1              =   480
      Y2              =   480
   End
   Begin VB.Shape shpBack 
      BackColor       =   &H8000000F&
      BackStyle       =   1  'Opaque
      BorderColor     =   &H80000014&
      Height          =   735
      Left            =   240
      Top             =   120
      Width           =   735
   End
End
Attribute VB_Name = "TabHead"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Private iSelectedTab As Integer
Private iNumLoadedTabs As Integer
Private sTabString As String
Private iFocusTab As String

Event TabSelected(iIndex As Integer, sName As String)
'Default Property Values:
Const m_def_SelectedBold = 0
Const m_def_SelectedColor = &H80000012
Const m_def_InactiveBold = 0
Const m_def_InactiveColor = &H8000000E
'Property Variables:
Dim m_SelectedBold As Boolean
Dim m_SelectedColor As OLE_COLOR
Dim m_InactiveBold As Boolean
Dim m_InactiveColor As OLE_COLOR



'----------------------------------------------------------------------
' Property TabString
'----------------------------------------------------------------------
Public Property Let TabString(sItems As String)
    sTabString = sItems
    NameItems
    DrawTabs
End Property

Public Property Get TabString() As String
    TabString = sTabString
End Property

'----------------------------------------------------------------------
' Property TabSelect
'----------------------------------------------------------------------
Public Property Let SelectedTab(sItem As String)
    iSelectedTab = Val(sItem)
    'NameItems
    DrawTabs
End Property

Public Property Get SelectedTab() As String
    SelectedTab = iSelectedTab
End Property

Private Sub UserControl_EnterFocus()

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -