setprops, which property?

Niklas Almesjö niklas_almesjo at yahoo.com
Sun May 5 13:06:00 EDT 2002


If I set the customPropertySet to an array, then it seems like setProps
only works with the name of this set (not the keyname but the name of the
array).. so how do you know which property that was set?


Message: 10
Date: Sat, 4 May 2002 20:06:17 -0700
To: use-revolution at lists.runrev.com
From: "Jeanne A. E. DeVoto" <jeanne at runrev.com>
Subject: Re: setprops, which property?
Reply-To: use-revolution at lists.runrev.com

At 1:28 PM -0700 5/4/2002, Niklas "Almesj–" wrote:
>Just started looking into customproperties, so I'd appreciate a hand.. 
The
>setprops message seems interesting, but I don't get how you see which
>property that has changed.

It's the name of the handler:

  setprop myCustomProperty
    beep
  end myCustomProperty

The above beeps when you try to set myCustomProperty to a new value.

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/

__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com



More information about the use-livecode mailing list