Results 1 to 3 of 3

Thread: arrays

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Posts
    129

    arrays

    If i have an array that i've used to load other items

    ex:

    load object(2)


    And then lets say i have 5 objects and i have somtin like this

    ex:

    for i = 0 to 5
    object(i).caption = label1.caption
    Next


    How do i get rid of a control after i created it, then how do i use it to do the following with that code

    ex: I want to remove object(3) but still have
    for i = 0 to 5
    object(i).caption = label1.caption
    Next
    to work


    ty
    Resizing
    System Balloons

    If your question is answered, please mark the thread resolved by pulling down the Thread Tools menu and clicking the Mark Thread Resolved button.

    Remember to rate a post if you find it helpful

  2. #2
    Fanatic Member
    Join Date
    Aug 2005
    Location
    South Africa
    Posts
    760

    Re: arrays

    You will need to use a For Each loop instead of what you are using
    If I helped you out, please consider adding to my reputation!

    -- "The faulty interface lies between the chair and the keyboard" --

    VB6 Programs By Me:
    ** Dictionary, Thesaurus & Rhyme-Generator In One ** WMP Recent Files List Editor ** Pretty Impressive Clock ** Extract Firefox History **

  3. #3
    Frenzied Member cssriraman's Avatar
    Join Date
    Jun 2005
    Posts
    1,465

    Re: arrays

    Are you looking for this:
    VB Code:
    1. Unload Text1(3)
    CS

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