On 7/21/03 10:57 PM, David Vaughan wrote:

...and here is another one but this one is a general solution rather than specific to one project. I include this in stacks fairly routinely.

on hideFields
  put the paramCount into k
  repeat with x = 1 to k
    hide field x
  end repeat
end hideFields

Put that in your stack script and wherever you want to hide fields, make a call

hideFields 1,7,3,8 -- (etc)

Good solution. I bet you typed it from memory though. ;)


I think this works the way you meant:

on hideFields
  put the params into k
  delete word 1 of k -- this is the handler name
  replace quote with empty in k
  repeat for each item x in k
    hide field x
  end repeat
end hideFields

--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to