Set selector
The set selector is a method which sets or changes the value of an attribute.
You do not have to specify a set selector. However, without a set selector, the value of the attribute cannot be set or changed. It is appropriate to omit a set selector if you want to enable other parts to retrieve an attribute, but not set it. For example, you might not want other parts to set the current date.
If you select the Add with defaults or Defaults push button, the set selector name will be the attribute name with all the blank spaces and colons (:) removed, with a colon added on the end. Any letter that followed a blank will be capitalized. For example, mySetSel: is the default set selector name for the attribute named my set sel. The set selector names cannot contain DBCS characters.
The field includes a drop-down list. You can assign any of these methods as the set selector.
If you add a name for the set selector that does not already exist, you can create default code for the method using the Generate Default Scripts function under the File menu. Typically, a set selector sets the value of an instance variable. However, it could perform some other function such as add the value to a database. You can add additional function to the method using the Script Editor. If you provide a set selector and do not use Generate Default Scripts, you have to define the method in order for the part to work correctly. This can be done using the Script Editor.
Last modified date: 01/29/2015