Validation in MDI children toggled

G

Guest

Having an app with several MDI children, a strange behaviour mindboggles me.
The following "event-map" shows the behaviour.
First I open an MDI, and activates a control with a Validate-event:
Form-Enter - Load
Control-Enter
Then I open another MDI (only events for the first MDI/control is shown):
Control-Leave
Form-Leave
Control-Validating - Validated
Then I "toggle" back to the first MDI via an MDI-menu, and presses "Tab"
from the control that should be validateted:
Form-Enter
The control is a TextBox, and of course CausesValidation is true.
Then I close the form:
Form-Closing - Leave
As one can see, when toggling from one MDI to another, the active control on
the second MDI does not seem to get focused, and i.e. is not validated.

Any suggestions???
 
S

spawner

I forgot to mention, this behaviour seems to have arrived after installing
the Framework 1.1 SP1.

Any help would be highly appreciated!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top