Changing Properties of All Fields in a Group

Steven Axtell saxtell at neb.rr.com
Mon Jun 2 22:44:54 EDT 2008


Josh,

That's a good idea.  Thanks.

Steve


> Could you say:
> 
> repeat with x = 1 to the number of fields in grp "myGrp"
>   set the textColor of fld x of grp "myGrp" to 123,34,214
> end repeat
> 
> (not tested)
> 
> On Jun 1, 2008, at 1:07 PM, Steven Axtell wrote:
> 
>> Is there a command that allows one to change a property setting for  
>> all of the fields in a group?  For example, I want to change the  
>> textColor property of all of the fields in a group to a given  
>> color.   Rather than have a line of code for each field, I imagine  
>> that there is a command that will allow all of the fields to be  
>> changed in one line of code.  I've tried to search for possible  
>> keywords but haven't identified anything yet.
>>
>> Thanks,
>>
>> Steve Axtell





More information about the use-livecode mailing list