Call vs Send
    Robert Brenstein 
    rjb at robelko.com
       
    Wed Jun  8 18:14:44 EDT 2005
    
    
  
>Dar,
>
>Yes, you see my problem exactly.  It is the target that returns the 
>name of my field, but the group name is left off which is bad for me 
>because I have the same name repeated in many differently named 
>groups. I have groups of fields and buttons that are created from 
>templates on the fly, along with many saved values for each (in 
>custom properties).
get the short name of the owner of fld "xxxxx"
will give you the group name within which btn "xxxxx" resides. This 
syntax assumes that all passed objects are certain to be in a group. 
Otherwise, get the owner ans inspect the first word for the type of 
object.
Robert
    
    
More information about the use-livecode
mailing list