Re: setprops, which property?
Thanks Ken, That is my experience aswell.. Which makes me wonder how I can use setProps with a custompropertyset (since I can't get setprops to work with the name of the either, once a custompropertyset has been assigned)? cheers, /Niklas From: Ken Ray [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: setprops, which property? Date: Sun, 5 May 2002 15:57:14 -0500 Organization: Sons of Thunder Software Reply-To: [EMAIL PROTECTED] Niklas, I don't think there is currently a way to do that. If you have: setProp myArray theValue -- stuff here pass myArray end myArray ... and you execute set the myArray[10] of this stack to 100, you will trigger the setProp handler, and 'theValue' will contain '100', but you won't be able to retrieve the '10' key. Am I wrong? I'd love it if I were... Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ - Original Message - From: Niklas Almesjö [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, May 05, 2002 1:02 PM Subject: Re: setprops, which property? 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: [EMAIL PROTECTED] From: Jeanne A. E. DeVoto [EMAIL PROTECTED] Subject: Re: setprops, which property? Reply-To: [EMAIL PROTECTED] 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. __ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: setprops, which property?
At 1:05 pm -0700 6/5/02, Niklas Almesj wrote: Thanks Ken, That is my experience aswell.. Which makes me wonder how I can use setProps with a custompropertyset (since I can't get setprops to work with the name of the either, once a custompropertyset has been assigned)? cheers, /Niklas From: Ken Ray [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: setprops, which property? Date: Sun, 5 May 2002 15:57:14 -0500 Organization: Sons of Thunder Software Reply-To: [EMAIL PROTECTED] Niklas, I don't think there is currently a way to do that. If you have: setProp myArray theValue -- stuff here pass myArray end myArray ... and you execute set the myArray[10] of this stack to 100, you will trigger the setProp handler, and 'theValue' will contain '100', but you won't be able to retrieve the '10' key. Am I wrong? I'd love it if I were... Sorry. I missed the beginning of this. Is this what you need? on mouseUp set the myArray[age] of me to very old end mouseUp setprop myArray[whichKey] pValue switch whichKey case name answer Your name is pValue break case age answer You are pValue break end switch end myArray Cheers Dave Cragg ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: setprops, which property?
Dave, This is wonderful! Great catch on this... just goes to show you can learn something new every day. ;-) Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ - Original Message - From: Dave Cragg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 06, 2002 4:16 PM Subject: Re: setprops, which property? At 1:05 pm -0700 6/5/02, Niklas Almesj- wrote: Thanks Ken, That is my experience aswell.. Which makes me wonder how I can use setProps with a custompropertyset (since I can't get setprops to work with the name of the either, once a custompropertyset has been assigned)? cheers, /Niklas From: Ken Ray [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: setprops, which property? Date: Sun, 5 May 2002 15:57:14 -0500 Organization: Sons of Thunder Software Reply-To: [EMAIL PROTECTED] Niklas, I don't think there is currently a way to do that. If you have: setProp myArray theValue -- stuff here pass myArray end myArray ... and you execute set the myArray[10] of this stack to 100, you will trigger the setProp handler, and 'theValue' will contain '100', but you won't be able to retrieve the '10' key. Am I wrong? I'd love it if I were... Sorry. I missed the beginning of this. Is this what you need? on mouseUp set the myArray[age] of me to very old end mouseUp setprop myArray[whichKey] pValue switch whichKey case name answer Your name is pValue break case age answer You are pValue break end switch end myArray Cheers Dave Cragg ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: setprops, which property?
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: [EMAIL PROTECTED] From: Jeanne A. E. DeVoto [EMAIL PROTECTED] Subject: Re: setprops, which property? Reply-To: [EMAIL PROTECTED] 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 ~ [EMAIL PROTECTED] 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 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: setprops, which property?
Niklas, I don't think there is currently a way to do that. If you have: setProp myArray theValue -- stuff here pass myArray end myArray ... and you execute set the myArray[10] of this stack to 100, you will trigger the setProp handler, and 'theValue' will contain '100', but you won't be able to retrieve the '10' key. Am I wrong? I'd love it if I were... Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ - Original Message - From: Niklas Almesjö [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, May 05, 2002 1:02 PM Subject: Re: setprops, which property? 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: [EMAIL PROTECTED] From: Jeanne A. E. DeVoto [EMAIL PROTECTED] Subject: Re: setprops, which property? Reply-To: [EMAIL PROTECTED] 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 ~ [EMAIL PROTECTED] 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 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
setprops, which property?
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. The parameters that are sent to the setProp are the name of the customproperty-array, the new value, and . How do I know which element in the array that has been modified? __ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution