Enter Event on Windows Forms do not always fire...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rainer Queck

    Enter Event on Windows Forms do not always fire...

    Hello NG,

    the hint on the property editor for the Form "Enter" event sais: Gets fired,
    if this control gets the active control.

    In my application I experience, that this is "mostly" true, but some times
    not.
    I have a MDI application, and I use the <Form>.BringToF ront() to activate a
    hidden window. Usually I get the "Enter" event on doing this.
    But I just had the case, that this event didn't get fired anymore. I
    activated my Forms in the MDI several time, but no "Enter" event occured .
    Stopping / Starting the Application brought the events back.

    What is it I am doing wrong?
    Are there "some" conditions by which "<Form>.BringTo Front()" do not fire the
    "Enter" event?

    Thanks for help and hints.

    Regards
    Rainer Queck


Working...