Charles
According to the Help:
In VFP 5, the help states: "A form receives the focus only when the form has no controls or when all its controls are disabled or invisible." The same information isn't explicitly stated in VFP6 help, but may be true there as well. Have you considered using the form Activate and Deactivate events? They are always called when the form gets/loses focus.
Barbara
>I am building an environment object into my base form class so that it collects certain settings, sets a default environment and also saves same in case of a loss of focus so that it can restore it on a getfocus.
>
>It seems to me that there times when getfocus and lostfocus don't fire although the form gets or loses the focus. Does anyone remmember when this happens?
>
>TIA