MDI dilema

  • Thread starter Thread starter Alvaro Lamas
  • Start date Start date
A

Alvaro Lamas

I wonder if anyone can tell me why does the first field in a MDI child has
its validating method called when its created and the show method is called.
Any help would be apretiated.

thanks in advanced
Alvaro
 
Alvaro,

It is not called when it is created, it is called when it looses focus.

So by example if you call 2 MDI forms behing each other the first one will
go validating when it is loosing focus because of the showing of the second.

I hope this helps?

Cor
 
I understand that the validating method its called when the control loses it
focus. I am only opening one form when the menu option is selected. the
thing is if i dont do the assignment to MDIParent atribute the validating
method isnt called, and if I do do the assignment then the validating methot
is being called.

Thank you Cor for trying to help. I apretiate it...
 

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

Back
Top