📄 form3.frm
字号:
VERSION 5.00
Begin VB.Form Form3
BackColor = &H00FFFF80&
BorderStyle = 3 'Fixed Dialog
Caption = "错误提示二"
ClientHeight = 2100
ClientLeft = 3540
ClientTop = 3435
ClientWidth = 4800
ControlBox = 0 'False
LinkTopic = "Form3"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2100
ScaleWidth = 4800
ShowInTaskbar = 0 'False
Begin VB.CommandButton Command1
Caption = "重新输入"
BeginProperty Font
Name = "华文新魏"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1560
Picture = "Form3.frx":0000
Style = 1 'Graphical
TabIndex = 1
Top = 1320
Width = 1695
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "您输入的景点不能为空!"
BeginProperty Font
Name = "楷体_GB2312"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C00000&
Height = 495
Left = 480
TabIndex = 0
Top = 480
Width = 4095
End
End
Attribute VB_Name = "Form3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Declare Function LoadCursorFromFile Lib "user32" Alias "LoadCursorFromFileA" (ByVal lpFileName As String) As Long
Private Declare Function SetClassLong Lib "user32" Alias "SetClassLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
Dim xin As Long
Dim jiu As Long
Private Sub Command1_Click()
If Form1.Text2 = "" Then
Form1.Text2.SetFocus
Else
Form1.Text3.SetFocus
End If
Unload Form3
DisableTrap Form3
End Sub
Private Sub Form_Load()
EnableTrap Form3
xin = LoadCursorFromFile(App.Path & "\banana.ani")
jiu = SetClassLong(hwnd, -12, xin)
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
SetClassLong hwnd, -12, jiu
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -