本文介绍了VB6中的回调机制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

VB6中有任何回调机制吗,我在许多论坛上都读过,说不可能.

Is there any call back mechanism in VB6, i read in many of the forums, it says not possible.

但是仍然让我知道这是否有可能,

But still let me know whether this could be possible,

select case语句是否还有其他选择(否则,则没有)

Is there any other alternative for select case statements ( not if else ),

因为在我选择的情况下,我有大约100项要检查的东西,而不是我想以此方式检查,而是考虑添加回调机制.

since in my select case i have around 100 items to check , instead of checking in this way i am thinking to add a callback mechanism.

我的问题是我不想在Select情况下使用100个项目检查,为此我需要某种解决方案,其中一种是将方法地址存储在数组中并在需要时调用,这可以通过回调机制来实现.

My problems is i don't want to use 100 items check in Select case, i need some kind of solution for this , one among them is storing the method addresses in a array and calling when required , this can be achieved through callback mechanism..

谢谢

萨拉瓦南(saravanan)

Saravanan

推荐答案


这篇关于VB6中的回调机制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 03:55