"Morten Wennevik" <(E-Mail Removed)>
???????

p.sqcluwa5klbvpo@stone...
> Hi Frank,
>
> The TextBox will never know as strictly speaking it's none of its
> business. The TextBox will only be notified if it loses focus to another
> control in the same form. You can use the Control.Leave event for this.
>
> If your Form loses focus (ie clicking on another application) you can
> detect this in the Form.Deactivated event. You can then do something with
> the TextBox if needed.
>
OK, it's a way.
However, for an IE Hosted usercontrol. How can I known IE loses focus?
---Frank