SAT/DL Text Item Tags
S@
Home SATGUI SATSHELL SATFORM SATFILTER SATREPORT SATMYSQL License Download Examples Contact

<action identifier> </action>Define link to action with identifier.
<b> </b>Set/unset bold text attribute.
<color colorname> </color>Set/unset text color attribute.
<font fontname>Set font to fontname.
<i> </i>Set/unset italic text attribute.
<label label>Set label label as target for link.
<link label> </link>Define link to label.
<size fontsize>Set font size.
<u> </u>Set/unset underline text attribute.


<action identifier> </action>

The <action identifier> tag creates an action link.

The text between the <action identifier> and the matching </action> tags will be displayed in blue text. A single click on the blue text will invoke the action specified by the addText command. The value of the identifier for the action is assigned to the "name" of the text item.

Example:

If the text created by...

addText {example 1,1 20x10 {myaction example}}

...contains a...

<action myaction1>Select This</action>

...tag, a single click on the "Select This" text will invoke the myaction action with the value of the identifier ("myaction1") passed as the first parameter.


<b> </b>

The <b> tag turns on the bold text attribute. The matching </b> tag turns it off.

Example:

This is a <b>bold</b> word.This is a bold word.


<color colorname>

The <color colorname> tag sets the current text color to colorname. The </color> tag sets the current text color to "black".

Color names supported:-

black, white, grey, red, orange, yellow, green, blue.

Color names may also be prefixed with light or dark (lightred, darkgreen etc).

Example:

Assume the current text color is black.

TagExample text
This is some <color green>green</color> textThis is some green text

Note:


<font fontname>

The <font fontname> tag sets the current font to fontname.

The following fonts are supported:-

courier, helvetica, times.

Example:

Assume the current font size is helvetica.

TagExample text
<font times>This is some text

Note:


<i> </i>

The <i> tag turns on the italic text attribute. The matching </i> tag turns it off.

Example:

This is an <i>italic</i> word.This is an italic word.


<label label>

The <label label> tag creates a target for a link.

Example:

<label mylink1>


<link label> </link>

The <link label> tag creates a link to the specified label.

The text between the <link label> and the matching </link> tags will be displayed in blue text. A single click on the blue text will move the display so as to put the target label as close to the top of the text item as possible.

Example:

If the text item contains a...

<link mylink1>Select This</link>

...tag, a single click on the "Select This" text will move the display to the mylink1 label.


<size fontsize>

The <size fontsize> tag sets the current font size to fontsize.

Examples:

Assume the current font is 10 point times.

TagExample text
<size 12>This is some text
<size 8>This is some text

Note:


<u> </u>

The <u> tag turns on the underline text attribute. The matching </u> tag turns it off.

Example:

This is an <u>underlined</u> word.This is an underlined word.


Copyright © 2003
Adrian Davis.