forms in Mdi

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Question: I have an MDI with several forms opened, how do I change the active child

Thanx
 
* =?Utf-8?B?RWxz?= said:
Question: I have an MDI with several forms opened, how do I change the active child?

Untested: 'Me.ActivateMdiChild(foo)' in the MDI container.
 
Nope, doesn't work

when i use this, my menu disappears and the active window is still the same
 
Hi Els,

Try calling Activate() on the child and/or BringToFront()

Happy coding!
Morten Wennevik [C# MVP]
 
if i remember correctly

for each testform as form in mdiforms.children
if testform.name ="activethisone" ' (or some other criteria on the window u
want to activate
testform.activate
endi f
next
 
Back
Top