undo insertion into group

Dennis Brown see3d at writeme.com
Fri May 20 17:12:57 EDT 2005


Eric,

This is exactly what I want to do, but it did not work.

On May 20, 2005, at 2:16 AM, Eric Chatonet wrote:

> Hi Bob,
>
> Buttons, fields, images, graphics, scrollbars, players and groups  
> are controls:
> put the number of controls
> repeat for each control tControl in this card

I want to get the name (or number) of each control in a group.

get the number of controls in grp x  --works

repeat for each control c in anything --does not work for me


I guess I can always do it the other way:

   repeat with c=1 to the number of controls in grp grpName
     get the name of control c of grp grpName
     if it contains "label field" then next repeat
     if word 1 of it is "button" then put it&cr after btnList
     if word 1 of it is "field" then put it&cr after fldList
   end repeat


Dennis


More information about the use-livecode mailing list