Messages in setprop...

Mark Wieder mwieder at ahsoftware.net
Wed Nov 30 00:55:08 EST 2005


Gilberto-

Tuesday, November 29, 2005, 5:34:20 AM, you wrote:

> 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?

Bueno - no estoy cierto que entiendo este problema perfectamente, pero
posiblemente de este manera:

setProp MyPropSet[propName] pValue
  switch propName
  case "Prop1"
  case "Prop3"
    set the MyPropSet["Prop3"] of me to pValue
    break
  case "Prop2"
    set the MyPropSet["Prop2"] of me to pValue
    break
  default
    set the MyPropSet[propName] of me to pValue
  end switch
end MyPropSet

(y tambien desculpe - mi espanol es peor que tu ingles...)

-- 
-Mark Wieder
 mwieder at ahsoftware.net





More information about the use-livecode mailing list