📄 frm_msgfrm.frm
字号:
VERSION 5.00
Begin VB.Form Frm_MsgFrm
BorderStyle = 3 'Fixed Dialog
ClientHeight = 1770
ClientLeft = 45
ClientTop = 435
ClientWidth = 4710
Icon = "Frm_MsgFrm.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1770
ScaleWidth = 4710
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin VB.PictureBox Pic_TltleBar
Align = 3 'Align Left
Appearance = 0 'Flat
BackColor = &H80000005&
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 1770
Left = 0
ScaleHeight = 1770
ScaleWidth = 960
TabIndex = 0
Top = 0
Width = 960
Begin VB.PictureBox Pic_TBarSymbol
Appearance = 0 'Flat
AutoRedraw = -1 'True
AutoSize = -1 'True
BackColor = &H80000005&
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 480
Left = 240
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 3
Top = 240
Width = 480
End
End
Begin LabMangeSystem.XButton Cmd_OK
Default = -1 'True
Height = 375
Left = 1545
TabIndex = 1
Top = 1155
Width = 1215
_ExtentX = 2143
_ExtentY = 661
Caption = "确定"
BackColor = 14737632
ForeColor = 8421504
MouseDownColor = -2147483644
MouseOnColor = -2147483644
StyleColor = 16777215
Style3dColor1 = 16577259
Style3dColor2 = 8421504
Picture = "Frm_MsgFrm.frx":058A
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
IfDraw = -1 'True
End
Begin LabMangeSystem.XButton Cmd_Cancel
Height = 375
Left = 3000
TabIndex = 2
Top = 1155
Width = 1215
_ExtentX = 2143
_ExtentY = 661
Caption = "取消"
BackColor = 14737632
ForeColor = 8421504
MouseDownColor = -2147483644
MouseOnColor = -2147483644
StyleColor = 16777215
Style3dColor1 = 16577259
Style3dColor2 = 8421504
Picture = "Frm_MsgFrm.frx":1D44
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
IfDraw = -1 'True
End
Begin VB.Label Lbl_Message
AutoSize = -1 'True
BackStyle = 0 'Transparent
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 195
Left = 1200
TabIndex = 4
Top = 240
Width = 45
End
End
Attribute VB_Name = "Frm_MsgFrm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public ReturnValue As Integer
Option Explicit
Private Sub Cmd_Cancel_Click()
ReturnValue = 2
Unload Me
End Sub
Private Sub Cmd_OK_Click()
ReturnValue = 1
Unload Me
End Sub
Private Sub Form_Load()
Cmd_OK.Default = False
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
If UnloadMode = 0 Then Cancel = -1
End Sub
Private Sub Pic_TltleBar_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then Call Cmd_OK_Click
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -