Multiple MDI children

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • groast

    Multiple MDI children

    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
  • Alan Pretre

    #2
    Re: Multiple MDI children

    "groast" <groast@discuss ions.microsoft. com> wrote in message
    news:7466D23F-185D-4494-A60F-10187C526C40@mi crosoft.com...[color=blue]
    > 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.[/color]

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

    -- Alan


    Comment

    • groast

      #3
      Re: Multiple MDI children

      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

      "Alan Pretre" wrote:
      [color=blue]
      > "groast" <groast@discuss ions.microsoft. com> wrote in message
      > news:7466D23F-185D-4494-A60F-10187C526C40@mi crosoft.com...[color=green]
      > > 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.[/color]
      >
      > Hi. Can you post the code that is creating the MDI children?
      >
      > -- Alan
      >
      >
      >[/color]

      Comment

      Working...