Point of confusion - Custom Properties
Jim Ault
JimAultWins at yahoo.com
Wed Apr 26 18:29:47 EDT 2006
I am trying to grasp how the setProp and getProp handers will work and am
stuck on the following concept.
Given: that executing the following lines will 'attempt' to change the
values of custom properties and send a message to do so ...
on opencard
set the dontShowError of this stack to "true"
set the dontShowIcons of this stack to "true"
set the dontShowAnimation of this stack to "true"
end opencard
---how can another handler be triggered while this one is running?
setProp dontShowError valToSet
if valToSet is not in "true,false" then
--do nothing, no change
else
pass dontShowError
end if
end dontShowError
setProp dontShowIcons valToSet
if valToSet is not in "true,false" then
--do nothing, no change
else
pass dontShowIcons
end if
end dontShowIcons
setProp dontShowAnimation valToSet
if valToSet is not in "true,false" then
--do nothing, no change
else
pass dontShowAnimation
end if
end dontShowAnimation
----------------------------------
Thanks,
Jim Ault
Las Vegas
More information about the use-livecode
mailing list