📄 frmmsgbox.frm
字号:
VERSION 5.00
Object = "{7FDF243A-2E06-4F93-989D-6C9CC526FFC5}#10.0#0"; "HoverButton.ocx"
Begin VB.Form frmMsgBox
Appearance = 0 'Flat
BackColor = &H00A27E66&
BorderStyle = 0 'None
Caption = "Form1"
ClientHeight = 1695
ClientLeft = 0
ClientTop = 0
ClientWidth = 5460
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1695
ScaleWidth = 5460
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin HoverButton.Button Button1
Height = 375
Left = 120
TabIndex = 1
Top = 720
Width = 1215
_ExtentX = 2143
_ExtentY = 661
BackColor = 16777215
HoverBackColor = 14268829
Border = 1
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Verdana"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty FontDown {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
BorderColor = 10649190
HilightColor = -2147483633
ShadowColor = -2147483633
HoverHilightColor= 14928823
HoverShadowColor= 13410172
ForeColor = -2147483630
HoverForeColor = 4210752
Caption = "Yes [F3]"
CaptionDown = "Yes [F3]"
CaptionOver = "Yes [F3]"
ShowFocusRect = 0 'False
Sink = -1 'True
Style = 0
PictureLocation = 0
ButtonStyleX = 0
State = 0
IconHeight = 0
IconWidth = 0
End
Begin HoverButton.Button Command4
Height = 375
Left = 120
TabIndex = 2
Top = 1200
Width = 1215
_ExtentX = 2143
_ExtentY = 661
BackColor = 16777215
HoverBackColor = 14268829
Border = 1
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Verdana"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty FontDown {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
BorderColor = 10649190
HilightColor = -2147483633
ShadowColor = -2147483633
HoverHilightColor= 14928823
HoverShadowColor= 13410172
ForeColor = -2147483630
HoverForeColor = 4210752
Caption = "No [F4]"
CaptionDown = "No [F4]"
CaptionOver = "No [F4]"
ShowFocusRect = 0 'False
Sink = -1 'True
Style = 0
PictureLocation = 0
ButtonStyleX = 0
State = 0
IconHeight = 0
IconWidth = 0
End
Begin VB.Shape Shape3
BorderColor = &H00FFFFFF&
BorderWidth = 3
Height = 495
Left = 480
Shape = 3 'Circle
Top = 120
Width = 495
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "s"
BeginProperty Font
Name = "Webdings"
Size = 24
Charset = 2
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 495
Left = 480
TabIndex = 3
Top = 120
Width = 480
End
Begin VB.Label Label1
Alignment = 2 'Center
BackColor = &H00FFFFFF&
Caption = "Label1"
BeginProperty Font
Name = "Verdana"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1215
Left = 1560
TabIndex = 0
Top = 240
Width = 3615
WordWrap = -1 'True
End
Begin VB.Shape Shape2
Height = 1695
Left = 0
Top = 0
Width = 5450
End
Begin VB.Shape Shape1
FillColor = &H00FFFFFF&
FillStyle = 0 'Solid
Height = 1455
Left = 1440
Top = 120
Width = 3855
End
End
Attribute VB_Name = "frmMsgBox"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'// ===============================================================================//
'// Program: OpenPOS(Point of Sales) //
'// Developed by: Sofwathullah Mohamed //
'// Sofwath@Hotmail.Com //
'// You are free to use and modify this program as long as you give credit to the //
'// original developer. Any comments or bugs report to sofwath@hotmail.com //
'// Ver: 0.1 //
'// This Program is Still Under Development and Some of the Modules are Missing //
'// ===============================================================================//
Private Sub Button1_Click()
Me.Tag = "yes"
Me.Hide
End Sub
Private Sub Command4_Click()
Me.Tag = "no"
Me.Hide
End Sub
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case vbKeyF3
Button1_Click
Case vbKeyF4
Command4_Click
End Select
End Sub
Private Sub Form_Load()
Me.Tag = "None"
Label1.Caption = Empty
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -