469,621 Members | 1,714 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,621 developers. It's quick & easy.

Finding which control triggers the Lost focus

I have a situation wherein i have a text box, that has abc()[a validation
method that leaves the focus on the same control if not validated] being
executed whenever the lost focus event is triggered. However, there is an
exceptional case where, if a button click causes the lost focus, I do not
want abc() to be called. Is there a method by which one can find out which
control is triggering the lost focus event?

I have a keyboard shortcut for the click handle, and the lost focus handle
does not get invoked if I use the shortcut. However, when I try the mouse to
click on the button, the lost focus is gettin triggered.

Any thoughts?

Dec 13 '05 #1
0 1479

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Carlos Lozano | last post: by
2 posts views Thread by vooose | last post: by
4 posts views Thread by Sameh Ahmed | last post: by
1 post views Thread by avinashraj | last post: by
1 post views Thread by =?Utf-8?B?amFtZXNAbm9zcGFtLmNvbQ==?= | last post: by
11 posts views Thread by =?Utf-8?B?RWl0YW4=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.