主题:如何调用其他事件?
wzxc
[专家分:9440] 发布于 2010-04-21 17:43:00
窗体上有一标签控件,想通过标签的mousedown 事件来调用窗体的mousedown 事件,这个代码如何写呢?
谢谢各位!!!
回复列表 (共2个回复)
沙发
bcahzvip [专家分:6040] 发布于 2010-04-21 19:40:00
public sub form_mousedown(...)
end sub
板凳
guoyong_cy [专家分:3050] 发布于 2010-04-21 19:49:00
Private Sub Label1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Call Form_MouseDown(1, 2, 3, 4)
End Sub
Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
'
End Sub
我来回复