# Re: 如何知道哪个Control 目前 GotFocus

Posted by 小贤 on September 28, 1997 at 10:02:15:

In Reply to: Re: 如何知道哪个Control 目前 GotFocus posted by 毛 on September 26, 1997 at 21:17:17:

: grobal iii as integer
: private sub text_gotfocus(index as integer)
: iii = index
: end sub

如果我的TEXT Control 是用 阵列! Text1(0) Text1(1) ..... Text1(5)
可是如果是连续同一阵列的 Control GotFocus 只会触发一次 Text_Gotfocus 那iii 的值就不正确了!

Follow Ups:

- 如何知道哪个Control 目前 GotFocus 阿晴 07:00:57 9/29/97 (0)