Results 1 to 2 of 2

Thread: mdi children multiple instances

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2001
    Location
    Austin, TX
    Posts
    41

    mdi children multiple instances

    I have a toughie (I think).

    I have an MDI program running with several MDI children windows. Each of these children windows is sort of a "module" that does a specific part of the program (obviously).

    My question is this: is it possible to spawn (initiate) a second instance of the MDI *child* window (in other words, a second copy of the module)?

    For example, let's say I have an MDI child window that is a calculator. The user has the option to spawn more calculators within the MDI program.

    My next question would be: how do I keep track of and reference the new "calculators" once they have been spawned? Are the forms then assigned an array at run time, or a whole new name alltogether?

    Thanks for your help.

  2. #2
    Fanatic Member kinjalgp's Avatar
    Join Date
    Apr 2000
    Location
    India
    Posts
    535
    VB Code:
    1. Dim frm as Form
    2. Set frm = new frmChild
    3. frm.Load
    4. frm.visible=True

    Kinjal

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width