Results 1 to 3 of 3

Thread: assing same form with new name each time loaded...

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2000
    Location
    USA
    Posts
    26

    Post

    What I am doing here, is for this irc chat program, I wanted to have a thing for private messages like an instant message on aol, i know how to bring up a bunch of forms that is from the original, but I dont know how to seperate them, because when data is recieved, im going to have to tell it which form to goto. So is there some way I can give the form a number like newform1, newform2, etc.

    this is what im using to create the form, i use vb5 by the way

    MyCount = frmNew.Count
    frmNew = New frmPrivate
    frmNew.Show

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Jan 2000
    Location
    USA
    Posts
    26

    Post

    sorry about the wacked out topic name i ment assigning, heh.

  3. #3
    Hyperactive Member
    Join Date
    Sep 1999
    Posts
    305

    Post

    yes, and it's called an array. For example, you have something called Form1(0) and you want to make a new form of the same thing, then you create Form1(1). The number inside is called the index. That should be enough to get you started on some searches around this forum.

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