See if this works for you:

on mouseUp
    put something(long ID of field 1,2)
end mouseUp

function something obj, pl
    return the formattedRect of line pl of obj & cr & \
          word 1 of line pl of (text of obj)
end something



Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 11/19/14, 10:57 AM, "Mike Doub" <miked...@gmail.com> wrote:

>i have been struggling with a couple of language issues and I hope some
>one
>can set me straight.
>
>Issue 1).  What is the syntax to get the contents of a field when you have
>the long IDE to the field.
>
>Put something ( long ID of field "foo", 2) into x
>...
>
>Function something obj pl
>    Get the formattedrect of line pl of obj -- this works fine
>    Get word 1 of the text of line pl of obj -- this what I want to do but
>the syntax is wrong
>End something



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to