Hi Josh,
if I need a command like this my overall approach needs to change
One can remove _all_ controls created since a stack was opened (or
saved--whichever comes last) by simply removing the stack from RAM
without saving it.
If a stack's destroyStack property is true, simply closing
Thanks for all the answers, especially the ones that say if I need a
command like this my overall approach needs to change, which I
believe is indeed the case.
Thanks!
On Feb 13, 2006, at 8:26 AM, Rob Cozens wrote:
Xavier, et al:
no if we delete named buttons...
My mistake, sorry.
My
IF
END REPEAT
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Klaus Major
Sent: Sunday, 12 February, 2006 11:33
To: How to use Revolution
Subject: Re: deleting multiple controls all at once
Hi Josh,
Is there a way to delete a bunch of controls
On 2/11/06 7:35 PM, Josh Mellicker [EMAIL PROTECTED] wrote:
Is there a way to delete a bunch of controls whose names match a
wildcard expression like thing.? or thing.?? all at once elegantly?
example:
thing.23
thing.46
thing.4
thing.142
delete all controls named thing. ??
Dick
your loop works faster IF the number of controls the number of thing
controls.
otherwise it will take longuer.
what's needed here is a control
create all your controls in a group things.
Then it's easier to delete group n controls in a group than among other
controls.
repeat while
All,
REPEAT with n = 1 to 300
IF exists (thing. n) THEN
delete thing. n
END IF
END REPEAT
All solutions posted so far neglect to take into account that the
number of a control changes when a control with a lower number is
deleted.
Hi Rob
no if we delete named buttons...
;)
cheers
Xavier
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Rob Cozens
Sent: Sunday, 12 February, 2006 18:36
To: How to use Revolution
Subject: Re: deleting multiple controls all at once
All
Is there a way to delete a bunch of controls whose names match a
wildcard expression like thing.? or thing.?? all at once elegantly?
example:
thing.23
thing.46
thing.4
thing.142
delete all controls named thing. ?? doesn't work :-)
Friends don't let friends do this:
REPEAT with n