Results 1 to 6 of 6

Thread: I just do not understand why...

  1. #1

    Thread Starter
    Frenzied Member RudyL's Avatar
    Join Date
    Mar 2001
    Location
    Chicago
    Posts
    1,519

    Unhappy I just do not understand why...

    Why did M$ drop componant arrays?? I just don't understand this at all...
    I loved those things.
    10 different ways to skin a cat and amazingly enough each and every one has the same result, the cat gets skinned! The same can be applied to code, so be nice and accept each others "preferences".

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: I just do not understand why...

    Originally posted by RudyL
    Why did M$ drop componant arrays?? I just don't understand this at all...
    I loved those things.
    are you talking about control arrays??? there was really no need for them anymore.. but if you want to learn about ways around them or ways to implement your own.. do a search on just the VB.NET forum for control array and you will find many topics

  3. #3

    Thread Starter
    Frenzied Member RudyL's Avatar
    Join Date
    Mar 2001
    Location
    Chicago
    Posts
    1,519

    Re: Re: I just do not understand why...

    Originally posted by kleinma
    are you talking about control arrays??? there was really no need for them anymore.. but if you want to learn about ways around them or ways to implement your own.. do a search on just the VB.NET forum for control array and you will find many topics
    I say componant, you say control..


    I will look into that. Thanks
    10 different ways to skin a cat and amazingly enough each and every one has the same result, the cat gets skinned! The same can be applied to code, so be nice and accept each others "preferences".

  4. #4
    PowerPoster SuperSparks's Avatar
    Join Date
    May 2003
    Location
    London, England
    Posts
    265
    If it's any consolation, I was pretty frustrated at them doing away with control arrays as well, but when you do get your head around the .NET way of doing things it's very powerful, and you can do a lot more than you could with control arrays. Though I have to say that there is a lot of legacy stuff that MS ought to have junked before control arrays IMHO.
    Nick.

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

  6. #6
    PowerPoster
    Join Date
    Dec 2003
    Location
    Bristol, England (but heart is in Virginia)
    Posts
    2,949
    Hi,

    ControlArrays have not been dropped in VB.NET. The name has been dropped because the method of referencing them, using an index number, has been dropped. You can still use an Array of Controls, e.g.

    Dim Button(10) As Button

    or you can use the Tag property of the control to act in the same way as an index.

    MSDN Help gives other options.
    Taxes
    The more I learn about VB.NET the more I like dBaseIII Plus

    The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.

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