|
-
May 4th, 2000, 10:51 PM
#1
Thread Starter
Lively Member
Me again,
I can create my control array at runtime... how do I remove items from it now?
-
May 4th, 2000, 11:03 PM
#2
transcendental analytic
instead of load, use unload
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.
-
May 5th, 2000, 03:34 AM
#3
Thread Starter
Lively Member
Ok, ya I was doing that but I was unloading the 0'th item and it didn't like that. When I unload an item in the array, say the 3rd item of 5, it leaves a gap in the array and it didn't like that either. I thought it would automatically move the other items (4 and 5) down to 3 and 4. I wrote code to handle this.
-
May 5th, 2000, 03:47 AM
#4
Addicted Member
Could you send me the code? I would sure need it.
My problem is (among other things) that when I first load some controls, then unload one of them and then load a new one, the computer says that the object is already loaded.
ALso, how can you use code to change the selected tab of a tabstrip? I've tried Call TabStrip1_Click, but it doesn't help since I can't tell what tab should be selected.
Pentax
Wilhelm Tunemyr,
Swede in London
[email protected]
"Dort, wo man Bücher verbrennt, verbrennt man am Ende auch Menschen"
Heinrich Heine (1797-1856)
Pravda vítezi!
(Truth prevails!)
-
May 5th, 2000, 03:50 AM
#5
transcendental analytic
Then don't unload the first, it's just the original that u shoudn't have visible in designtime. To unload without gaps do this:
Code:
Unload controlarray(controllarray.counter-1)
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|