Results 1 to 4 of 4

Thread: Removing a control from an array

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2000
    Posts
    400
    Once you create a control array, is there any way to remove one of them from the array?

    I created an array of grids and put a ton of work into them to make them exactly right. Then I wanted to take just one for a different app, but I had to leave it as the only element in a control array. It just screamed amateur...

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Depends if you have created the control array in designtime or runtime, and if you want to remove one item in designtime or runtime
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2000
    Posts
    400
    Created in design time, can I remove it from the array in design time?

  4. #4
    Fanatic Member ExcalibursZone's Avatar
    Join Date
    Feb 2000
    Location
    Western NY State
    Posts
    908
    Yes, you can remove it at design time if added during design time. Just like removing any other control. If you want to return a control array back to a standard single control, remove all instances of the control except one and then delete anything in it's index property. Also, you'll have to go through the code window and set the subroutines up to work without the index arguement.
    -Excalibur

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