📄 form1.frm
字号:
VERSION 5.00
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "MSFLXGRD.OCX"
Begin VB.Form Form1
Caption = "Products"
ClientHeight = 5790
ClientLeft = 60
ClientTop = 345
ClientWidth = 8265
LinkTopic = "Form1"
ScaleHeight = 386
ScaleMode = 3 'Pixel
ScaleWidth = 551
StartUpPosition = 3 '窗口缺省
Begin VB.Data Data1
Caption = "Data1"
Connect = "Access"
DatabaseName = "C:\Program Files\Microsoft Visual Studio\VB98\Biblio.mdb"
DefaultCursorType= 0 '缺省游标
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 375
Left = 240
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = "Titles"
Top = 4320
Width = 7815
End
Begin VB.ListBox List1
Height = 1140
Left = 240
TabIndex = 3
Top = 3120
Width = 7815
End
Begin MSFlexGridLib.MSFlexGrid MSFlexGrid1
Bindings = "Form1.frx":0000
DragIcon = "Form1.frx":0014
Height = 2895
Left = 240
TabIndex = 2
Top = 120
Width = 7815
_ExtentX = 13785
_ExtentY = 5106
_Version = 393216
ScrollTrack = -1 'True
AllowUserResizing= 1
MouseIcon = "Form1.frx":0166
End
Begin VB.CommandButton Command2
Caption = "E&xit"
Height = 855
Left = 4200
TabIndex = 1
Top = 4800
Width = 3855
End
Begin VB.CommandButton Command1
Caption = "&Clear"
Height = 855
Left = 240
TabIndex = 0
Top = 4800
Width = 3615
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
List1.Clear
End Sub
Private Sub Command2_Click()
Unload Form1
End
End Sub
Private Sub Data1_Reposition()
Data1.Caption = Data1.Recordset("Title")
End Sub
Private Sub MSFlexGrid1_DblClick()
List1.AddItem MSFlexGrid1.Text
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -