Messages in setprop...

Gilberto Cuba gilbert at isphlg.rimed.cu
Tue Nov 29 08:34:20 EST 2005



Hi,

I'm working in a "setprop" of the "property set", that is to say, group of property, and detect that I modified or set a value of a property of the same group or "property set", the message dont triggered. How I can do this message occur?

Example: 

setprop MyPropSet[propName] newValue

switch propName
case "Prop1"
  -- (1)
  set the MyPropSet["Prop3"] of me to value   
  break
case "Prop2"
  ...
  -- do something...
  ...
  break
case "Prop3"
  ...
  ...do something...  (2)
  ...
  break
end switch

end setprop

When i set a value to a property "Prop1", it come in to (1), but when the next line is executing, it dont pass for (2).
I hope you might understand.

Best regards,

Gilberto Cuba

PD: I request my excuses for my english. I'm speaking spanish.  :DDD


More information about the use-livecode mailing list