Page 1 of 1

Will Set or Put work for this?

Posted: Wed Nov 15, 2006 3:07 pm
by tm1274
I need to make a field show a value from another field within my project. Basically I have a combo box that the user will make a selection, the script will populate a field with a text/number value based upon that selection. I then need another field to show the same value. Can I do this with either the set or put commands? If at all possible I would rather not add another "set the text of field" script to the first combo box it is getting rather large.

Posted: Thu Nov 16, 2006 11:12 pm
by DarScott
You might want to consider setProp with a custom property name and set that instead of the text. The body of the setProp can set the text and also set the other field.

Another method is to use a single custom command in the combobox to distribute values and use that all the places you need.