vb form的事件

activateresizepaint等等.就是那个下拉菜单里面的你人很好。这些事件我也知道。只是想知道每个事件代表什么意思?... activate
resize
paint
等等.
就是那个下拉菜单里面的
你人很好。这些事件我也知道。只是想知道每个事件代表什么意思?
展开
 我来答
ARTERIOSCLEROS
2008-11-15 · TA获得超过4183个赞
知道大有可为答主
回答量:1672
采纳率:0%
帮助的人:2426万
展开全部
Activate -当一个对象成为活动窗口时发生。
(活动窗口:在前景上显示的窗口,其标题栏或边框以突出显示,用来与其它可见窗口相区别。)

Resize 当一个对象第一次显示或当一个对象的窗口状态改变时该事件发生。(例如,一个窗体被最大化、最小化或被还原。)

Paint 在一个对象被移动或放大之后,或在一个覆盖该对象的窗体被移开之后,该对象部分或全部暴露时,此事件发生。
好几碗粥Ry
2008-11-15 · TA获得超过1173个赞
知道大有可为答主
回答量:1118
采纳率:0%
帮助的人:892万
展开全部
就是这些事件,我刚复制下来的。。。

Private Sub Form_Activate()

End Sub

Private Sub Form_Click()

End Sub

Private Sub Form_DblClick()

End Sub

Private Sub Form_Deactivate()

End Sub

Private Sub Form_DragDrop(Source As Control, X As Single, Y As Single)

End Sub

Private Sub Form_DragOver(Source As Control, X As Single, Y As Single, State As Integer)

End Sub

Private Sub Form_GotFocus()

End Sub

Private Sub Form_Initialize()

End Sub

Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)

End Sub

Private Sub Form_KeyPress(KeyAscii As Integer)

End Sub

Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)

End Sub

Private Sub Form_LinkClose()

End Sub

Private Sub Form_LinkError(LinkErr As Integer)

End Sub

Private Sub Form_LinkExecute(CmdStr As String, Cancel As Integer)

End Sub

Private Sub Form_LinkOpen(Cancel As Integer)

End Sub

Private Sub Form_Load()

End Sub

Private Sub Form_LostFocus()

End Sub

Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)

End Sub

Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)

End Sub

Private Sub Form_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)

End Sub

Private Sub Form_OLECompleteDrag(Effect As Long)

End Sub

Private Sub Form_OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)

End Sub

Private Sub Form_OLEDragOver(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single, State As Integer)

End Sub

Private Sub Form_OLEGiveFeedback(Effect As Long, DefaultCursors As Boolean)

End Sub

Private Sub Form_OLESetData(Data As DataObject, DataFormat As Integer)

End Sub

Private Sub Form_OLEStartDrag(Data As DataObject, AllowedEffects As Long)

End Sub

Private Sub Form_Paint()

End Sub

Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)

End Sub

Private Sub Form_Resize()

End Sub

Private Sub Form_Terminate()

End Sub

Private Sub Form_Unload(Cancel As Integer)

End Sub
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
完娟居晴波
2019-04-18 · TA获得超过3701个赞
知道小有建树答主
回答量:3026
采纳率:33%
帮助的人:180万
展开全部
End好像不会触发任何事件。
Unload可以触发Form_Unload事件。
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
衡知盖乐荷
2019-06-13 · TA获得超过3680个赞
知道大有可为答主
回答量:2919
采纳率:26%
帮助的人:212万
展开全部
单击窗体
关闭程序
不会触发
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 更多回答(2)
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式