Re: deleting multiple controls all at once

2006-02-14 Thread Rob Cozens
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 the

Re: deleting multiple controls all at once

2006-02-13 Thread Josh Mellicker
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. M

Re: deleting multiple controls all at once

2006-02-13 Thread Rob Cozens
Xavier, et al: no if we delete "named" buttons... My mistake, sorry. My assumption (though the original post isn't clear on the "why"): These are "temporary" controls created at runtime My alternatives (if my assumption is correct): * Create the controls in a standalone -- where t

RE: deleting multiple controls all at once

2006-02-12 Thread MisterX
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: deletin

Re: deleting multiple controls all at once

2006-02-12 Thread Rob Cozens
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 delete

RE: deleting multiple controls all at once

2006-02-12 Thread MisterX
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 whi

Re: deleting multiple controls all at once

2006-02-12 Thread Dick Kriesel
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 name

RE: deleting multiple controls all at once

2006-02-12 Thread MisterX
ot; & n) > END 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 mult

Re: deleting multiple controls all at once

2006-02-12 Thread Klaus Major
Hi Josh, 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: