📄 alm.frm
字号:
VERSION 5.00
Begin VB.Form Frmalarm
Caption = "告警"
ClientHeight = 1584
ClientLeft = 4344
ClientTop = 4416
ClientWidth = 3588
Icon = "alm.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1584
ScaleWidth = 3588
Begin VB.CommandButton Command2
Caption = "查看告警记录"
Height = 372
Left = 1920
TabIndex = 2
Top = 1200
Width = 1452
End
Begin VB.Timer Timer1
Interval = 500
Left = 120
Top = 480
End
Begin VB.TextBox Text1
BackColor = &H80000008&
BeginProperty Font
Name = "System"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FF00&
Height = 972
Left = 600
MultiLine = -1 'True
TabIndex = 1
Text = "alm.frx":0442
Top = 120
Width = 2775
End
Begin VB.CommandButton Command1
Caption = "确 定"
BeginProperty Font
Name = "宋体"
Size = 10.8
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 360
TabIndex = 0
Top = 1200
Width = 1215
End
Begin VB.Image Image1
Height = 384
Left = 120
Picture = "alm.frx":0448
Top = 120
Width = 384
End
End
Attribute VB_Name = "Frmalarm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
With db1RS9
.MoveLast
.Edit
.Fields(3) = Date & " " & Time
.Update
End With
Unload Me
Frmlux.Command1_Click
End Sub
Private Sub Command2_Click()
Screen.MousePointer = 11
AlarmRec.Show
Screen.MousePointer = 0
End Sub
Private Sub Timer1_Timer()
If Image1.Visible = False Then
Image1.Visible = True
Else
Image1.Visible = False
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -