📄 form1.ebf
字号:
VERSION 5.00
Object = "{E491F001-98EC-11D1-9B3D-00C04FAD5AEC}#1.0#0"; "msceimagelist.dll"
Object = "{01FC4473-8DE5-11D1-91B7-00C04FA87A04}#1.0#0"; "mscetabstrip.dll"
Begin VB.Form Form1
Appearance = 0 'Flat
BackColor = &H00FFC0FF&
Caption = "Form1"
ClientHeight = 4785
ClientLeft = 60
ClientTop = 840
ClientWidth = 3855
ForeColor = &H80000008&
ScaleHeight = 4785
ScaleWidth = 3855
ShowOK = -1 'True
Begin CETabStripCtl.TabStrip TabStrip1
Height = 3255
Left = 0
TabIndex = 0
Top = 0
Width = 3495
_cx = 6165
_cy = 5741
FontBold = 0 'False
FontItalic = 0 'False
FontStrikethru = 0 'False
FontUnderline = 0 'False
FontName = "MS Sans Serif"
FontSize = 8
MultiRow = 0 'False
Style = 0
TabFixedHeight = 0
TabFixedWidth = 0
TabWidthStyle = 0
TabsPersist = " 0"
Enabled = -1 'True
End
Begin CEImageListCtl.ImageList ImageList1
Left = 1080
Top = 960
_cx = 990
_cy = 990
ImageWidth = 0
ImageHeight = 0
End
Begin VBCE.TextBox Indext
Height = 375
Left = 480
TabIndex = 6
Top = 3720
Width = 975
_cx = 1720
_cy = 661
BackColor = -2147483643
BorderStyle = 1
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = -2147483640
Text = ""
Alignment = 0
HideSelection = -1 'True
Locked = 0 'False
MaxLength = 0
MultiLine = 0 'False
PasswordChar = ""
ScrollBars = 0
End
Begin VBCE.Label Index
Height = 255
Left = 0
TabIndex = 5
Top = 3720
Width = 495
_cx = 873
_cy = 450
AutoSize = 0 'False
BackColor = 16761024
BackStyle = 1
BorderStyle = 0
Caption = "Index"
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = -2147483640
Alignment = 0
UseMnemonic = -1 'True
WordWrap = 0 'False
End
Begin VBCE.TextBox Captiont
Height = 375
Left = 2160
TabIndex = 4
Top = 3360
Width = 975
_cx = 1720
_cy = 661
BackColor = -2147483643
BorderStyle = 1
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = -2147483640
Text = ""
Alignment = 0
HideSelection = -1 'True
Locked = 0 'False
MaxLength = 0
MultiLine = 0 'False
PasswordChar = ""
ScrollBars = 0
End
Begin VBCE.Label Label2
Height = 255
Left = 1440
TabIndex = 3
Top = 3360
Width = 615
_cx = 1085
_cy = 450
AutoSize = 0 'False
BackColor = 16761024
BackStyle = 1
BorderStyle = 0
Caption = "Caption"
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = -2147483640
Alignment = 0
UseMnemonic = -1 'True
WordWrap = 0 'False
End
Begin VBCE.TextBox keyt
Height = 375
Left = 480
TabIndex = 2
Top = 3360
Width = 975
_cx = 1720
_cy = 661
BackColor = -2147483643
BorderStyle = 1
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = -2147483640
Text = ""
Alignment = 0
HideSelection = -1 'True
Locked = 0 'False
MaxLength = 0
MultiLine = 0 'False
PasswordChar = ""
ScrollBars = 0
End
Begin VBCE.Label Label1
Height = 255
Left = 0
TabIndex = 1
Top = 3360
Width = 495
_cx = 873
_cy = 450
AutoSize = 0 'False
BackColor = 16761024
BackStyle = 1
BorderStyle = 0
Caption = "Key"
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = -2147483640
Alignment = 0
UseMnemonic = -1 'True
WordWrap = 0 'False
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Form_Load()
ImageList1.ImageHeight = 16
ImageList1.ImageWidth = 16
ImageList1.Add App.Path & "\a1.bmp"
ImageList1.Add App.Path & "\a2.bmp"
ImageList1.Add App.Path & "\a3.bmp"
Dim i As Integer
'设置标题。
TabStrip1.Tabs(1).Caption = "Time"
TabStrip1.Tabs.Add 2, , "Date"
TabStrip1.Tabs.Add 3, , "Mail"
TabStrip1.ImageList = ImageList1.hImageList
Dim a As String
For i = 1 To 3
a = "\a" & i & ".bmp"
ImageList1.Add App.Path & a
TabStrip1.Tabs.Item(i).Image = i
Captiont.Text = TabStrip1.Tabs(i).Caption
keyt.Text = TabStrip1.Tabs(i).Key
Indext.Text = TabStrip1.Tabs(i).Index
Next
End Sub
Private Sub Form_OKClick()
App.End
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -