revPrintField prob

Steve Messimer steve at messimercomputing.com
Tue Dec 3 11:51:01 EST 2002


Hi,

Figured this one out myself. :-)  Jeanne writes such good docs!

Heres the script that works.  Why would you want to do this extra scripting
you say?  Well the field in question is part of a group that is being pasted
in from a template and the button can't know ahead of time the number of the
field as this is variable nor can it now the name of the subsumming grp.

on mouseUp
  put the short name of the owner of me into myOwner
  put the number of field "fldGrp" of grp myOwner into myNum
  revPrintField ("field" && myNum)
end mouseUp

Regards,

Steve




More information about the use-livecode mailing list