Results 1 to 3 of 3

Thread: Control Indexing ???

  1. #1

    Thread Starter
    Registered User
    Join Date
    Sep 2002
    Posts
    221

    Control Indexing ???

    In VB6, when you copied a control multiple times, it would create a control index, based on the name of the first control, for example:

    btnEnter(0)
    btnEnter(1)
    btnEnter(2)
    btnEnter(3)
    btnEnter(4)
    etc

    Has this feature been taken away from vb.net?

  2. #2
    Frenzied Member
    Join Date
    Feb 2003
    Location
    Argentina
    Posts
    1,950
    That's correct. You're talking about control arrays in VB6, which are no longer supported in VB.Net. There are a couple work arounds. Look in the Help index for control arrays, then select changes to vb in the results window.

  3. #3

    Thread Starter
    Registered User
    Join Date
    Sep 2002
    Posts
    221
    Thanks

    Looks like I can refer to the vb6 style control array indexes using the tabindex in vb.net

    Thanks again

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