Home Search

DriveWorks Solo 21
Font

Send Feedback

Font

This description applies to the following properties:

  • Font - sets the font for text that can be typed into a control.
  • Caption Font - sets the font for the text displayed as the caption for the control.
  • List Item Font - sets the font for the text displayed as items in the list control.
  • Option Item Font - sets the font for the text displayed as items in the Option Group control.

Property Type: Static

Default Value: Microsoft Sans Serif; Regular; 8.25pt

By default the caption font is set to Microsoft Sans Serif; Regular; 8.25pt.

To Change the Default Value

Ensure the property is a static property (It will display the gray orb alongside the property name)

The default value of the static property can be changed by one of the following methods:

  • Using the Font Chooser.
    1. Click in the property for the control to be changed.
    2. Click the button at the end of the property value field.
       
    3. Select the Font, Font Style, Size and any Effects or Scripts from the Font dialog.
    4. Click OK.
  • Typing the Font values.
    1. Click in the property for the control to be changed.
    2. Type the font string value directly into the property field.

Examples

Font Property Value (static)ResultNotes
font-family: verdana; font-size: 14.25pt; font-weight: bold; text-decoration:Changes the font to verdana, 14,25pt, bold.

A rule can also be built for this property by changing the type to dynamic.

See How To: Change A Static Property To A Dynamic Property.

Font Property Value (dynamic)ResultNotes
IF( LengthReturn<100 , "font-family: verdana; font-size: 14.25pt; font-weight: bold; font-style: italic; text-decoration:", "font-family: verdana; font-size: 12pt; text-decoration:"

Changes the font to verdana, 14,25pt, bold italic when Length is less than 100.

Otherwise it will be set to Verdana, 12pt regular

Value set in Form Designer. For DriveWorks projects static properties can be made Dynamic by double clicking the gray radio button.