Sometimes I'm baffled.
rabit at dimensionB.de
Thu Jan 29 15:58:04 CST 2009
sorry to disagree. i is never 0 in the mentioned script.
Once again: Use the do command, because the statement
"set the visible of param(i) to false" consists partly of a return
value of a function.
on mouseUp pMouseBtnNo
put the target into tCtl
local i, p1
repeat with i=1 to paramcount()
-- set the visible of param(i) to false
do "set the visible of" && param(i) && "to false"
wait for 1 sec with messages
-- set the visible of param(i) to true
do "set the visible of" && param(i) && "to true"
On 29.01.2009, at 20:15, Thomas McGrath III wrote:
> FYI the repeat with i and the set the vis of param(i) will not get
> the handler name since it is actually 0
> From the Docs:
> param(0) -- returns the handler name
> don't know if this is part of the problem or not.
More information about the use-livecode