View Full Version : Quick question
ukemike
04-26-2005, 07:19 AM
Hey guys,
How one control test if another control on my form has focus?
Tanis
04-26-2005, 08:25 AM
If Me.[ControlName] some test Then
Some action
End If
Providing the controls are on the same form.
ukemike
04-26-2005, 09:51 AM
Soo... what would this "some test" be?
I know how to reference a control, i need to know how to test if it has focus.
Thanks
Mikw
TonyJollans
04-26-2005, 10:43 AM
Try ..
If Me.ControlName Is Me.ActiveControl Then
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.