ParamArray问题 [英] ParamArray Problem

查看:42
本文介绍了ParamArray问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好专家


查看我的代码

Hello Experts

See My Code

< span class =codeLinkonclick =Blur(this,this.parentNode.parentNode,getChildren(this),true);>展开 | 选择 | Wrap | 行号

推荐答案


你好专家


查看我的代码


私人子F_Clear(Paramarray Cntr())

dim i%

i = 0到ubound(cntr)

cntr(i).text = "

next

结束子


F_Clear(TxtBox(0),TxtBox(2) )

编译错误

预期:=
Hello Experts

See My Code

Private sub F_Clear(Paramarray Cntr())
dim i%
For i=0 to ubound(cntr)
cntr(i).text = ""
next
End sub


F_Clear (TxtBox(0),TxtBox(2))
Compile Error
Expected: =



我不知道可能是什么问题。我尝试使用两个文本框,它没有任何问题清除它们。可能是你的文本框有一些问题。


顺便说一句,我喜欢你的头像。


HTH

I dont know what the problem might be. I tried it using two textboxes, and it cleared them without any problem. May be your textboxes have some issues.

btw, i liked your avatar.

HTH


你好Kadghar

谢谢回复

你想试试

Plz给我

textboxe有wat pblm发生,如果它是一个然后没有概率


也给你尝试代码


我会


费萨尔

Hello Kadghar
Thanx For Reply
Hw u try
Plz Give me
textboxe have wat pblm occure, if it is one then no prob

also Give u r trying code

I will

Faisal


我不知道问题可能是什么。我尝试使用两个文本框,它没有任何问题清除它们。可能是你的文本框有一些问题。


顺便说一句,我喜欢你的头像。


HTH
I dont know what the problem might be. I tried it using two textboxes, and it cleared them without any problem. May be your textboxes have some issues.

btw, i liked your avatar.

HTH



Hello Kadghar

Thanx回复

Hw你试试

Plz给我

textboxe有wat pblm发生,如果它是一个然后没有概率


也给你尝试代码


我将


Faisal
Hello Kadghar
Thanx For Reply
Hw u try
Plz Give me
textboxe have wat pblm occure, if it is one then no prob

also Give u r trying code

I will

Faisal



i创建了一个带有两个文本框的新表单:textbox1和textbox2,然后我复制粘贴你的sub,并在我称之为表单的click事件中:

i created a new form with two textboxes : textbox1 and textbox2, then i copy pasted your sub, and in the click event of the form i called it:

展开 | 选择 | Wrap <温泉n class =codeDivider> | 行号


这篇关于ParamArray问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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