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

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. My

RE: deleting multiple controls all at once

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

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 named thing. ??

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 while

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 deleted.

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: deleting multiple controls all at once All

deleting multiple controls all at once

2006-02-11 Thread Josh Mellicker
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