grouping objects by script problem

Eric Chatonet eric.chatonet at sosmartsoftware.com
Tue Oct 23 06:20:04 EDT 2007


Hi Klaus,

You are right and, above all, locking the screen, this method appears  
five times faster.
In addition, timing depends on the number of objects already created  
on the card: the more you have yet, the longer it is.

Le 23 oct. 07 à 12:03, Klaus Major a écrit :

> Hi Ron,
>
>> Hi,
>>
>> I have been trying to group a set of controls and graphic objects
>> after creating them via script but can't seem to find out what I'm
>> doing wrong.
>> Here's the relevant part of the script:
>
> another option especially for this situation would be:
>
> repeat
> --do some other stuff here--
>      create graphic tname
>      set the selected of grc tname to true
>     end repeat
>  group
>  select empty
> ...
>
> No hassle with "do" and strings and stuff :-)
>
>
>> the error I get is a problem with the "object expression" at the
>> select statement
>>
>> grouplist looks like this:
>> graphic "g1" and graphic "g2" and graphic "g3" and graphic "g4"
>>
>> when I manually enter the above text after the select or group  
>> command
>> it works - but it doesn't seem to like the variable?
>>
>> how do I group a bunch of controls etc on a stack that is created  
>> on the fly?
>>
>> Thanks
>> Ron
>
> Regards
>
> Klaus Major
> klaus at major-k.de
> http://www.major-k.de




More information about the use-livecode mailing list