GotFocus() Event does not work properly.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

The Form_GotFocus() event doesn't work correctly. In fact neither does the
Activate event. They do work when you alter code in the event handler and
then save your changes. When you run the form or forms after making these
changes, e.g. if you are calling one from the other, the activate and
gotfocus events work, but only once. Then they don't work again. Is there a
fix for this?
 
dorian said:
The Form_GotFocus() event doesn't work correctly. In fact neither does the
Activate event. They do work when you alter code in the event handler and
then save your changes. When you run the form or forms after making these
changes, e.g. if you are calling one from the other, the activate and
gotfocus events work, but only once. Then they don't work again. Is there a
fix for this?

Sorry, I don't understand in what way you are saying that these events don't
work correctly. As far as I know, they work as expected. Could you give
more details about what you are doing, what event procedures you have set
up, and what behavior you are getting or not getting that is different from
what you expect.

Bear in mind that a form's GotFocus event can only fire if there is not
control on the form that can receive the focus.
 
Back
Top