📄 form2.frm
字号:
VERSION 5.00
Begin VB.Form Form2
BorderStyle = 3 'Fixed Dialog
Caption = "sql语法"
ClientHeight = 8100
ClientLeft = 45
ClientTop = 330
ClientWidth = 10605
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 8100
ScaleWidth = 10605
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.TextBox Text1
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 6135
Index = 6
Left = 4200
Locked = -1 'True
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 8
Text = "Form2.frx":0000
Top = 6720
Visible = 0 'False
Width = 10575
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 6135
Index = 5
Left = 2880
Locked = -1 'True
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 7
Text = "Form2.frx":01BD
Top = 5640
Visible = 0 'False
Width = 10575
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 6135
Index = 4
Left = 2160
Locked = -1 'True
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 6
Text = "Form2.frx":02A1
Top = 4920
Visible = 0 'False
Width = 10575
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 6135
Index = 3
Left = 720
Locked = -1 'True
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 5
Text = "Form2.frx":03AC
Top = 4080
Visible = 0 'False
Width = 10575
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 6135
Index = 2
Left = 600
Locked = -1 'True
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 4
Text = "Form2.frx":048A
Top = 3240
Visible = 0 'False
Width = 10575
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 6135
Index = 1
Left = 480
Locked = -1 'True
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 3
Text = "Form2.frx":0606
Top = 2400
Visible = 0 'False
Width = 10575
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 6135
Index = 0
Left = 10
Locked = -1 'True
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 2
Text = "Form2.frx":075E
Top = 1920
Width = 10575
End
Begin VB.Frame Frame1
Height = 1815
Left = 0
TabIndex = 0
Top = 0
Width = 10575
Begin VB.ListBox List1
Height = 1500
Left = 120
TabIndex = 1
Top = 240
Width = 10335
End
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
List1.AddItem "SQL语言介绍"
List1.AddItem "Select(查询)"
List1.AddItem "Where子语句"
List1.AddItem "Insert Into(添加)"
List1.AddItem "Delete(删除)"
List1.AddItem "Update(修改)"
List1.AddItem "总结"
For i = 1 To 6
Text1(i).Top = 1920
Text1(i).Left = 10
Next
End Sub
Private Sub List1_Click()
Select Case List1.ListIndex
Case 0
TextVisible 0
Case 1
TextVisible 1
Case 2
TextVisible 2
Case 3
TextVisible 3
Case 4
TextVisible 4
Case 5
TextVisible 5
Case 6
TextVisible 6
End Select
End Sub
Private Sub TextVisible(ByVal a As Integer)
Dim i As Integer
For i = 0 To 6
Text1(i).Visible = False
Next
Text1(a).Visible = True
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -