DSC_TEXT table

 images\btn_mini.gif  Notation

Summary

This table contains properties for text descriptors.

Field name

SQL type

Description

DESCINDEX

INTEGER

Unique number of the descriptor.

TEXT

CHAR (100)

Text displayed by the descriptor-

FONTINDEX

INTEGER

Index of the font used for the text.

XALIGN

INTEGER

Horizontal alignment of the text:
0 = Left aligned
1 = Centered
2 = Right aligned

YALIGN

INTEGER

Vertical alignment of the text:
0 = Top
4 = Centered
8 = Bottom

FLASH

INTEGER

1 if the text should flash on alarm, 0 if not.

COLORON

INTEGER

“On” color when text is blinking on alarm.

The number must be given in RGB hexadecimal notation.

COLOROFF

INTEGER

“Off” color when text is blinking on alarm.

The number must be given in RGB hexadecimal notation.

BGCOLOR

INTEGER

Background color.

The number must be given in RGB hexadecimal notation.

FLASHBG

INTEGER

1 if the background should flash on alarm, 0 if not.

BGCOLORON

INTEGER

“On” color when background is blinking on alarm.

The number must be given in RGB hexadecimal notation.

BGCOLOROFF

INTEGER

“Off” color when background is blinking on alarm.

The number must be given in RGB hexadecimal notation.

USEFLASHPATTERN

INTEGER

1, if the alarm pattern should be used for background flashing, 0 if not.

FITRECTTOTEXT

INTEGER

1 if the descriptor size should be resized, if the text does not fill out the size, 0 if no shrinking should be done.

BORDERSTYLE INTEGER

Define the border of the text box as follow:

0 = None
1 = Sunken
2 = Raised
3 = Flat border, 1 pixel
4 = Flat border, 1 pixel, raised
5 = Flat border, 1 pixel, sunken
6 = Flat border, 2 pixels
7 = Flat border, 2 pixels, raised
8 = Flat border, 2 pixels, sunken