📄 form19.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form Form19
BackColor = &H00C0E0FF&
BorderStyle = 1 'Fixed Single
Caption = "帮助信息"
ClientHeight = 4395
ClientLeft = 45
ClientTop = 345
ClientWidth = 7260
LinkTopic = "Form19"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4395
ScaleWidth = 7260
StartUpPosition = 3 '窗口缺省
Begin MSAdodcLib.Adodc Adodc1
Height = 615
Left = 750
Top = 5115
Width = 3930
_ExtentX = 6932
_ExtentY = 1085
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 1
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=test;Data Source=(local)"
OLEDBString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=test;Data Source=(local)"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "select * from help"
Caption = "Adodc1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin VB.CommandButton Command3
BackColor = &H00FFC0FF&
Caption = "上一条提示(&P)"
Height = 375
Left = 315
Style = 1 'Graphical
TabIndex = 3
Top = 3000
Width = 1365
End
Begin VB.CommandButton Command2
BackColor = &H00FFC0FF&
Caption = "下一条提示(&N)"
Height = 360
Left = 2070
Style = 1 'Graphical
TabIndex = 2
Top = 3000
Width = 1320
End
Begin VB.TextBox Text1
BackColor = &H00FFC0C0&
DataField = "内容"
DataSource = "Adodc1"
BeginProperty Font
Name = "楷体_GB2312"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 2325
Left = 195
Locked = -1 'True
MaxLength = 200
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 1
Text = "Form19.frx":0000
Top = 390
Width = 5670
End
Begin VB.CommandButton Command1
BackColor = &H00FFC0FF&
Caption = "返回(&H)"
Default = -1 'True
Height = 375
Left = 4575
Style = 1 'Graphical
TabIndex = 0
Top = 3000
Width = 1200
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "您知道吗..."
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF00FF&
Height = 270
Left = 330
TabIndex = 4
Top = 90
Width = 1740
End
End
Attribute VB_Name = "Form19"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Command2_Click()
With Adodc1.Recordset
Command3.Enabled = True
If .EOF = False Then
.MoveNext
Else
Command2.Enabled = False
End If
End With
End Sub
Private Sub Command3_Click()
Command2.Enabled = True
With Adodc1.Recordset
If .BOF = False Then
.MovePrevious
Else
Command3.Enabled = False
End If
End With
End Sub
Private Sub Form_Load()
Me.Left = (Screen.Width - Me.Width) / 2
Me.Top = (Screen.Height - Me.Height) / 2
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -