Desktop User Guides > Professional > Interview scripting > Writing interview scripts > Page layout facilities > Default styles > Default styles for text
 
Default styles for text
To specify default styles for text, type:
IOM.DefaultStyles.Labels[LabelStyleTypes.<type>].<property> = <value>
where <type> is one of the following label types. The type names start with lowercase L, not the number 1 or the letter I.
Label type
Description
lsBanner
Banner texts (from Info items)
lsCategory
Categorical response texts
lsError
Error messages
lsNavigation
Text on navigation buttons
lsQuestion
Question texts
lsTitle
Titles
Example: Default styles for texts
With IOM.DefaultStyles
  .Labels[LabelStyleTypes.lsQuestion].Font.Family =
      "'Comic Sans MS'"
  .Labels[LabelStyleTypes.lsCategory].Color = "blue"
  .Labels[LabelStyleTypes.lsNavigation].color = "red"
  .Labels[LabelStyleTypes.lsError].Font.Effects = FontEffects.feItalic
  .Labels[LabelStyleTypes.lsError].Color = "#FF00FF"
End With
produces:
This graphic is described in the surrounding text.
Another way of defining styles for categorical response texts is by category type. This approach allows you to use different styles for single and multiple choice responses and for exclusive responses. For more information, see Default styles for categorical response types.
See also
Default styles