Get ActiveControl on Validating event

S

Sam

Hi,
I have a MDI Application. The MDI parent contains a treeview control,
and the childform contains a textbox.
If I leave the textbox by clicking on the treeview, then
MDIParentForm.ActiveControl is the child form instead of being the
treeview. This only occurs under VS2005. It works fine under VS2003.
Can you help ?
Here is a sample application to illustrate the issue (please click on
New Document to open the child form)

http://graphicsxp.free.fr/ValidatingSample.zip

Thanks
 
S

Sam

The bug was related to VS2005 beta 2... :-( I've upgraded to VS2005
express, and it works just fine
 

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