|
-
May 23rd, 2000, 05:01 PM
#1
Thread Starter
Fanatic Member
Anyone know how I would return which object on a form has the focus? Probably very simple (like me)... Oh, I'd like it to work on a control array too.
-
May 23rd, 2000, 06:14 PM
#2
Lively Member
On Error Resume Next
MsgBox ActiveControl.Name & "(" & ActiveControl.Index & ")"
If Err.Number > 0 Then MsgBox ActiveControl.Name
-
May 23rd, 2000, 06:22 PM
#3
Thread Starter
Fanatic Member
Thanks Roger, guess what, I'd just figured it out (purely by chance!)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|