📄 form3.frm
字号:
VERSION 5.00
Begin VB.Form Form3
Caption = "Form3"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 450
ClientWidth = 4680
LinkTopic = "Form3"
ScaleHeight = 11010
ScaleWidth = 15240
StartUpPosition = 3 'Windows Default
WindowState = 2 'Maximized
Begin VB.CommandButton Command1
Caption = "<<<-------------"
Height = 615
Left = 480
TabIndex = 3
Top = 6480
Width = 2175
End
Begin VB.CommandButton Command2
Caption = "EXIT"
Height = 615
Left = 3840
TabIndex = 2
Top = 6480
Width = 2295
End
Begin VB.Data Data1
Caption = "Data1"
Connect = "Access"
DatabaseName = "E:\Documents and Settings\mhp\Desktop\platform1\TRAIN.mdb"
DefaultCursorType= 0 'DefaultCursor
DefaultType = 2 'UseODBC
Exclusive = 0 'False
Height = 615
Left = 3720
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = "TRAIN"
Top = 7560
Visible = 0 'False
Width = 2295
End
Begin VB.TextBox Text1
DataSource = "Data1"
Height = 855
Left = 2760
MultiLine = -1 'True
TabIndex = 1
Text = "Form3.frx":0000
Top = 3120
Width = 2295
End
Begin VB.TextBox Text2
DataSource = "Data1"
Height = 975
Left = 2760
MultiLine = -1 'True
TabIndex = 0
Text = "Form3.frx":0002
Top = 4560
Width = 2295
End
Begin VB.Label Label1
Caption = "PLATFORM DETAILS"
BeginProperty Font
Name = "MS Sans Serif"
Size = 18
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 1440
TabIndex = 8
Top = 0
Width = 4815
End
Begin VB.Label Label2
Caption = "PLATFORM NO"
Height = 615
Left = 240
TabIndex = 7
Top = 1320
Width = 2415
End
Begin VB.Label Label4
BackColor = &H80000002&
Height = 1455
Left = 2760
TabIndex = 6
Top = 1080
Width = 2655
End
Begin VB.Label Label3
Caption = "AVAILABLE"
Height = 735
Left = 120
TabIndex = 5
Top = 3120
Width = 2295
End
Begin VB.Label Label5
Caption = "OCCUPIED"
Height = 615
Left = 0
TabIndex = 4
Top = 4920
Width = 2415
End
End
Attribute VB_Name = "Form3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Unload Me
Form1.Show
End Sub
Private Sub Command2_Click()
End
End Sub
Private Sub Label4_Click()
Label4.Caption = "platform 1" + vbNewLine + "platform 2" + vbNewLine + "platform3" + vbNewLine + "platform4" + vbNewLine + "platform5"
Text1.Text = Data1.Recordset.Fields(6)
Text2.Text = Data1.Recordset.Fields(7)
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -