> I have forms with "search" bit buttons to help users
> find a value if they don't know the code.  If the
> user brings up a search form and clicks on CANCEL to
> cancel the search, I'd like to send them back to
> whatever field they WERE in when they clicked on the
> button.  Currently, the focus stays on the button.

David:

Could you use a speed button in this case?  Speed
buttons do not have a window handle, and do not (and
cannot) receive focus.  Therefore, if a user clicks a
speedbutton, the currently focused field at the time
of the click should remain focused.
--
Larry

Reply via email to