Mark,

I can see how this would save a lot of coding. Do you ever 'forget' that you have this type of script somewhere and wonder why things are happening?

Tom

On Apr 12, 2006, at 3:16 PM, Mark Wieder wrote:

Tom-

Wednesday, April 12, 2006, 10:44:35 AM, you wrote:

Does anyone have any examples on the get/setProps in real usage? I
have been using custom props but not the setProp etc. I would love
some more insightful ideas on it's usage.

Here's a simple ledger field component: negative values will show up
in red, positive values in the default color.

put this into a field script, then
set the NewValue of field "xyz" to someValue

setProp NewValue pValue
  try
    if pValue < 0 then
      set the foreColor of me to "red"
    else
      set the foreColor of me to empty
    end if
  end try
  put pValue into me
end NewValue

--
-Mark Wieder
 [EMAIL PROTECTED]

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to