up Inquisit Language Reference

navigationbuttonfontstyle attribute

The navigationbuttonfontstyle attribute specifies the font in which the navigation button caption is presented.

Member of

<instruct> <likert> <openended> <slidertrial> <survey> <surveypage>

Syntax

/ navigationbuttonfontstyle = ("face name", height, bold, italic, underline, strikeout, quality, character set)

Parameters

face name A string in quotes indicating the name of the font.
height (Optional) An decimal that specifies the height of the font in points (default), pixels, or percent.
bold (Optional) A value of true or false indicating whether the font should be bold.
italic (Optional) A value of true or false indicating whether the font should be italic.
underline (Optional) A value of true or false indicating whether the font should underlined.
strikeout (Optional) A value of true or false indicating whether the font should appear with a strikeout line.
quality (Optional) An integer ranging from 1 to 5 indicating the font quality. 5 is the best quality (ClearType).
character set (Optional) An integer indicating the character set code. The character set can be any of the following:
Value Description
0 ANSI
186 Baltic
1 Default (uses the current system locale on the local computer)
136 Chinese Big5 (Taiwan, Hong Kong, Macau)
238 Eastern European
134 GB2312 (Simplified Chinese)
161 Greek
129 Hangul (Korean)
77 Mac
255 OEM (operating system dependent)
204 Russian
128 ShiftJIS (Japanese)
2 Symbol
162 Turkish
163 Vietnamese
130 Johab (Korean)
178 Arabic.
177 Hebrew
222 Thai

Remarks

Inquisit provides an easy to use font picker dialog to set this attribute. To use the font picker, 1) move the cursor to where you want to insert the the font attribute, 2) open the Tools menu, and 3) select "Font Wizard". Once you have selected the desired font settings in the Font Wizard dialog, select OK and the font attribute and appropriate settings will automatically be inserted in your script at the cursor location.

Examples

The following sets the button caption font to Arial bold and sets the height to 5% of the screen height:

<survey somesurvey>
/ navigationbuttonfontstyle = ("Arial", 10%, true)
/ navigationbuttonsize = (10%, 10%)
/ items = ("yada yada yada")
</survey>

The following sets the button caption font for a particular survey page to italic Tahoma font, 25 pixels high:

<surveypage page1>
/ navigationbuttonfontstyle = ("Tahoma", 25px, false, true)
/ navigationbuttonsize = (250px, 50px)
/ items = ("yada yada yada")
</surveypage>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.