在vb 6中进行自定义事件 [英] make a custom event in vb 6

查看:342
本文介绍了在vb 6中进行自定义事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在
上进行自定义事件 当我单击保存"时我的数据输入表格
按钮将引发一个事件,例如datasaved和
然后更新secondforms列表视图

第一种形式是数据输入形式(事件上升者)

第二种形式是数据列表形式(事件接收器)

i want to make a custom event on
my dataentry form when i click on save
button it will riase a event like datasaved and
then update the secondforms listview

first form is data entry form (event riser)

second form is datalist form(event reciver)

推荐答案

对于人们仍然必须使用VB6旧代码,我总是感到遗憾.

在此处查看声明和在Visual Basic 6中引发事件 [
I allways feel sorry about people still have to work with VB6 legacy code.

Take a look here Declaring and Raising Events in Visual Basic 6[^]

If you are creating a new app, then consider using another language like C#.


这篇关于在vb 6中进行自定义事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆