<<

Contents

Search

>>

 

EBUS_NUM_FIELD_MODE

 

 

Variable

 

 

Meaning:

This variable specifies the width of numeric fields displayed in proportional font on masks.

 

With Fixed Font all characters have the same width. Therefore the Fixed Font is applied to the grid of masks in rows and columns. The width of a mask is calculated as:

 

Character width of the Fixed Font * number of mask columns

 

The width of a mask field is calculated analogously:

 

Character width of the Fixed Font * number of mask field columns.

 

With the proportional font the width of numbers can be bigger or smaller than the character width of the Fixed Font. Also, the characters ‘.’ and ‘,’ are generally thinner with proportional font than the numbers ‘0’ and ‘9’. The result is that the actually needed display width for numeric fields can be bigger or smaller than the Character width of the Fixed Font * number of mask field columns.

 

The variable EBUS_NUM_FIELD_MODE sets in which width numeric fields are displayed and whether they are positioned left- or right justified.

 

EBUS_NUM_FIELD_MODE

Meaning

0

The mask fields are displayed in the width specified in the mask layout.

1

The mask fields are displayed right-justified in the actually needed width; that means the field ends at the end position specified in the mask layout.

2

The mask fields are displayed left-justified in the actually needed width; that means the field begins at the start position specified in the mask layout.

3

The mask fields are displayed right-justified in the actually needed width; that means the field ends at the end position specified in the mask layout. The mask fields are only enlarged if necessary and never reduced.

Any other value

The mask fields are displayed left-justified in the actually needed width; that means the field begins at the start position specified in the mask layout. The mask fields are only enlarged if necessary and never reduced.

 

EBUS_NUM_FIELD_MODE is set to 2 at the start of the program.

 

Changeable:

Yes

 

Sample:

EBUS_NUM_FIELD_MODE = 1

 

See also:

EBUS_DATE_FIELD_MODE