Desktop User Guides > Professional > Interview scripting > Writing interview scripts > Interview Object Model overview > Category object
 
Category object
The Category object represents one response (category) in a categorical response list. When using this object, you must include the response’s name in the object name, as follows:
Category["ResponseName"]
The Category properties that you are most likely to use are as follows:
Property
Description
Index
The response’s position in the response list. Numbering starts at zero for the first item in the list.
Label
The response’s text based on the active language, routing context and label type.
Style
The Style object for the response. This allows you to override the default presentation styles just for this response. For example:
Q4.Category["NoneOfThese"].Style.Color = "Dark Blue"
See also
Interview Object Model overview