Multiple MDI children

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

Guest

Hi,

I try to create a MDI children form everytime I click the "new" option. I
used a standard source code provided at MSDN.

But something weird happen, the first time I click it generates 1 child
form. The second time i click, it generates 2 child forms at once. Then the
third time I click it generates 4 child forms at once. Is this a know problem
or I did something wrong ?? Coz I am clueless rite now.

Thanks
 
groast said:
But something weird happen, the first time I click it generates 1 child
form. The second time i click, it generates 2 child forms at once. Then
the
third time I click it generates 4 child forms at once. Is this a know
problem
or I did something wrong ?? Coz I am clueless rite now.

Hi. Can you post the code that is creating the MDI children?

-- Alan
 
Hi Alan,

Problem solved. Sorry, its my stupid mistake to create an additional event
handler for the click action inside the click action function itself. Sorry :P

Got another question though about MDI functionality, I'll make a new post.
Hope you can help me with that one.

Cheers
 
Back
Top