![]() |
#2
风吹过b2013-08-22 18:33
|

private sub text1_keypress(index as integer,keyascii as integer)
if keyascii=13 then
text1(index+1).setfocus
if index=59 then text1(0).setfocus
end if
end sub
现在的问题是:当我的光标第二次定位到text1(0)时,输入信息时第一个字符要按两次才能输入进去.if keyascii=13 then
text1(index+1).setfocus
if index=59 then text1(0).setfocus
end if
end sub
为什么? 谁能帮我解决一下?
其它的textbox没有这个问题{text1(1)到text1(59)}