📄 frmlabel.frm
字号:
VERSION 5.00
Begin VB.Form frmLabel
AutoRedraw = -1 'True
BackColor = &H80000001&
BorderStyle = 0 'None
ClientHeight = 435
ClientLeft = 0
ClientTop = 0
ClientWidth = 3420
LinkTopic = "Form1"
ScaleHeight = 435
ScaleWidth = 3420
ShowInTaskbar = 0 'False
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 300
Left = 0
TabIndex = 0
Top = 0
Width = 165
End
Begin VB.Label Label2
Appearance = 0 'Flat
AutoSize = -1 'True
BackColor = &H80000005&
BackStyle = 0 'Transparent
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 300
Left = 480
TabIndex = 1
Top = 840
Width = 165
End
End
Attribute VB_Name = "frmLabel"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public Sub Flash()
Label2.Left = Label1.Left + 15
Label2.Top = Label1.Top + 15
Label2.Caption = Label1.Caption
Me.Width = Label1.Width + 20
Me.Height = Label1.Height + 20
SetWindowPos Me.hwnd, -1, 0, 0, 0, 0, 1 Or 2
End Sub
Private Sub Form_Load()
Me.Show
Me.Flash
End Sub
Private Sub Label1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 1 Then
' Picture1.MouseIcon = Image1.Picture
ReleaseCapture
SendMessage hwnd, &HA1, 2, 0
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -