group question

Doug Lerner doug at webcrossing.com
Sun Feb 15 17:13:16 EST 2004


Thanks. That was helpful!

doug

On 2/16/04 4:21 AM, "Ken Ray" <kray at sonsothunder.com> wrote:

> Doug,
> 
> There isn't a "select all objects" command, but you can accomplish it in
> one of two ways:
> 
> 1) select <obj1> and <obj2> and <obj3> ... and <objN>
> 
> 2) repeat through all the objects and set the 'selected' property of the
> object to true
> 
> Personally I prefer #2 as it is easier:
> 
> repeat with x = 1 to the number of controls
>   set the selected of control x to true
> end repeat
> 
> Then execute the "group" command.
> 
> After you have grouped a set of objects, you can select individual
> objects in the group *by* script at any time, but if you want the user
> to manipulate them with the pointer tool, you'll need to set the
> selectGroupedControls property to true.
> 
> HTH,
> 
> Ken Ray
> Sons of Thunder Software
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
> 
>> -----Original Message-----
>> From: use-revolution-bounces at lists.runrev.com
>> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
>> Doug Lerner
>> Sent: Saturday, February 14, 2004 8:01 PM
>> To: How to use Revolution
>> Subject: group question
>> 
>> 
>> If I want to make a group out of all the objects in a card
>> (all the objects are graphics, images and text fields) so I
>> can scroll the window, is there an expression I can use to
>> refer to "all the objects"?
>> 
>> If I do this, does it then prevent me from selecting
>> individual objects in the group?
>> 
>> doug
>> 
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-> revolution
>> 
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list