📄 dblist.frm
字号:
VERSION 5.00
Object = "{FAEEE763-117E-101B-8933-08002B2F4F5A}#1.1#0"; "DBLIST32.OCX"
Begin VB.Form Form1
Caption = "电话簿"
ClientHeight = 1965
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 1965
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "退出"
Height = 375
Left = 2520
TabIndex = 3
Top = 1440
Width = 1695
End
Begin VB.Data Data1
Caption = "Data1"
Connect = "Access 2000;"
DatabaseName = "data.mdb"
DefaultCursorType= 0 '缺省游标
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 375
Left = 2160
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = "电话簿"
Top = 960
Visible = 0 'False
Width = 2175
End
Begin VB.TextBox Text1
Height = 270
Left = 2160
TabIndex = 1
Top = 480
Width = 1815
End
Begin MSDBCtls.DBList DBList1
Bindings = "DBlist.frx":0000
DataField = "电话"
DataSource = "Data1"
Height = 1740
Left = 120
TabIndex = 0
Top = 120
Width = 1935
_ExtentX = 3413
_ExtentY = 3069
_Version = 393216
ListField = "姓名"
BoundColumn = "电话"
End
Begin VB.Label Label1
Caption = "电话号码"
Height = 375
Left = 2160
TabIndex = 2
Top = 120
Width = 1335
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 Command1_Click()
End
End Sub
Private Sub DBList1_Click()
Text1.Text = DBList1.BoundText
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -