📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form aa
BackColor = &H00C0C0C0&
Caption = "OLE拖放示例"
ClientHeight = 1965
ClientLeft = 60
ClientTop = 345
ClientWidth = 4800
FillColor = &H00C0C0C0&
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 1965
ScaleWidth = 4800
StartUpPosition = 2 '屏幕中心
Begin VB.Label Label1
BackStyle = 0 'Transparent
BorderStyle = 1 'Fixed Single
DragMode = 1 'Automatic
Height = 375
Left = 1560
OLEDropMode = 1 'Manual
TabIndex = 0
Top = 840
Width = 1095
End
End
Attribute VB_Name = "aa"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'CODE Manger By BcodeXRose
'##################################################################
'## 过程名称:Label1_OLEDragDrop
'## 参数:Data 为DataObject型
'## 参数:Effect 为Long型
'## 参数:Button 为Integer型
'## 参数:Shift 为Integer型
'## 参数:X 为Single型
'## 参数:Y 为Single型
'##################################################################
Private Sub Label1_OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)
Label1.Caption = Data.Files(1)
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -