Text Property
Formatting tags can be applied to the Text property of the following controls:
Formatting tags can also be used in the following button controls. however the hyperlink tag is not supported.
The text displayed on form controls support the use of formatting tags to enable text decoration to be applied within strings of text.
This applies to the following form control properties:
Formatting tags can be applied to the Text property of the following controls:
Formatting tags can also be used in the following button controls. however the hyperlink tag is not supported.
The Caption property of the following controls:
For example:

For example:

For example:

The caption property of the following controls also support text formatting:
The Tooltip Text property of all controls that support tooltips.
The hyperlink tags are not supported for the Tooltip Text property.
For example:

The Items property of the following controls:
For example:

For example:

For example:

The Items property of the Data Table control.
For example:

The following syntax allows the formatting of text displayed on form controls:
To make text bold, use [b] at the start of the text, and [/b] at the end.
"This is [b]bold text"
Will display as:
This is bold text
To format just the word bold, the end tag will be required.
"This is [b]bold[/b] text"
Will display as:
This is bold text
To make text italic, use [i] at the start of the text, and [/i] at the end.
"This is [i]italic text"
Will display as:
This is italic text
To format just the word italic, the end tag will be required.
"This is [i]italic[/i] text"
Will display as:
This is italic text
To underline text, use [u] at the start of the text, and [/u] at the end.
"This is [u]underlined text"
Will display as:
This is underlined text
To format just the word underlined, the end tag will be required.
"This is [u]underlined[/u] text"
Will display as:
This is underlined text
To color text, use [color RequiredColor] at the start of the text, and [/color] at the end.
Replace RequiredColor with the required color the formatting is to use.
"This is [color red]red text"
Will display as:
This is red text
To format just the word red, the end tag will be required.
"This is [color red]red[/color] text"
Will display as:
This is red text
Hexadecimal values can also be used
For example:
"This is [color #ff0000]red text"
Will display as:
This is red text
Transparency is supported for the [color] format tag.
This can be specified by setting an additional two hex characters before the hex color code, for example:
For the tag [color #22000000] - the “22” will apply an almost transparent black color to the text.
There is also support for setting a hex color using the shortened hex code, which is the three character version so #FFFFFF will be #FFF.
The three character version also supports transparency through the addition of one extra character before the color code, for example:
[color #22000000] is equivalent to [color #2000]
Please note
Hyperlinks are not supported on the Tooltip Text property or the Text property of the Clipboard Button, Dialog Button, Macro Button or Upload Control.
To format text as a hyperlink to open in the same tab it was selected from, use [url RequiredURL] at the start of the text, and [/url] at the end.
Replace RequiredURL with the required url the link will go to.
By default the following will apply:
The user must navigate back to the previous URL to return to the Specification
If this is not desirable behavior use url-external.
"This is [url https://www.driveworks.co.uk/]linked text"
Will display as:
This is linked text
Where the word linked will open the DriveWorks homepage.
To format just the word linked, the end tag will be required.
"This is [url https://www.driveworks.co.uk/]linked[/url] text"
Will display as:
This is linked text
Please note
Hyperlinks are not supported on the Tooltip Text property or the Text property of the Clipboard Button, Dialog Button, Macro Button or Upload Control.
To format text as a hyperlink to open in a new tab, use [url-external RequiredURL] at the start of the text, and [/url-external] at the end.
Replace RequiredURL with the required url the link will go to.
By default the following will apply:
"This is [url-external https://www.driveworks.co.uk/]linked text"
Will display as:
This is linked text
Where the word linked will open the DriveWorks homepage.
To format just the word linked, the end tag will be required.
"This is [url-external https://www.driveworks.co.uk/]linked[/url-external] text"
Will display as:
This is linked text
Any combination of start and end formatting tags can be used.
"[color red][u][i][b]red, underlined, italic and bold"
Or
"[color red][u][i][b]red, underlined, italic and bold[/b][/i][/u][/color]"
Will result in:
red, underlined, italic and bold
"Click [color blue][url https://www.driveworks.co.uk/]here[/url][/color] to visit our homepage"
Will result in:
Click here to visit our homepage
There may be times where the tags used to format text are required to be displayed as text. In these circumstances escaping tags are required.
"Enter [b] for bold"
The following syntax is used:
"Enter [[b] for bold"
In this case the first [ character escapes the subsequent [b] characters, preventing the string from being formatted.
Quotation marks in rules are used to denote text as strings, when a quotation mark is required to be shown within the string it requires to be escaped.
To do this the quotes are required to be surrounded by other quotes.
Use double quotes.
Syntax
"This is a single quote "" mark"
Will display as:
This is a single quote " mark
Use double quotes immediately before the end quote.
Syntax
"This is a single quote mark """
Will display as:
This is a single quote mark "
Use four quotes.
Syntax
"This is a single quote """" mark"
Will display as:
This is a single quote "" mark
| Knowledge Base Article Ref: | KB13021901 |
|---|