Field Just

“Justification” status of a form field. Indicates how the data in the form field is aligned in the visual space.

Valid Values

A 1-character code, as shown in the table below:

Code

Meaning

N

No justification (data is displayed as entered)

L

Left justification (leading spaces are stripped from the data)

R

Right justification (trailing spaces are stripped from the data)

C

Centered (leading and trailing spaces are adjusted to center the data in the form field)

W

Wrap (words are automatically wrapped and left-justified in form fields that visually occupy two or more rows)

 

Field FT

A code indicating the “class” (field type) of the associated form field.

Valid Values

A code stored as a single character value, as shown in the table below:

CodeMeaning
ATabPage
BPushButton
CComboBox
DDivider
EOLE Object
FFrame
GGraphic
HCamera
IPicture
JCalendar
KSignature
LListBox
MMenu Item
NTabControl
OOptionBox
PLabel
QListView
RGridControl
SScrollBar
TToggleButton
UUserMessage
VEntryField
WTreeView
XTreeView Node
YBarCode
ZProgressBar

Field IT

Indicates how the form field responds to a LostFocus event (“transmit-on-exit” status).

Valid Values

A 1-character code, as shown in the table below:

Code

Meaning

N

(DEFAULT) No response

Y

Control returns to the application program if the form field was modified between the GotFocus and LostFocus events (LostFocusModified)

A

Control always returns to the application program on a LostFocus event

X

Control returns to the application program both on a LostFocusModified and a LostFocus event. (LostFocusModified takes precedence.)

Remarks

The value in the form field must meet the associated validation rule and minimum length requirement before control can revert to the application program on a LostFocus event.

See Also

MinLen, ValRule

Field VR

“Value required” status of a form field. Indicates whether a value is required in this form field.

Valid Values

A 1-character code, as shown in the table below:

Code

Meaning

I

Immediate. This form field must be completed before focus can move elsewhere in the form

N

No. This form field need not be completed before control can return to the application program

Y

Yes. This form field must be completed before control can return to the application program on callback or scrolling events; on other events, control returns, but an incomplete required field is noted in Event system variables

Remarks

If the VR of a form field is I, and an accelerator key is pressed before the form field is assigned a valid value, an error message appears and focus returns to the form field.

If a form field has an IT setting of A and a VR setting of I, the VR setting takes precedence: the form field must be assigned a value before an event can cause a callback to the application program.

See Also

ValRule, VA

 

Field WdgScrollBars

Indicates whether a form field or a window has attached scroll bars.

Valid Values

An integer code, as shown in the tables that follow.

For FormFields

Code

Meaning

0

None (DEFAULT)

1

Horizontal

2

Vertical

3

Both

For Windows

Code

Meaning

1

Yes (the window can have scroll bars) (DEFAULT)

2

No (the window may not have scroll bars)

Field DM

The “display mode” of an object. Indicates the display attributes to be used for an object.

Valid Values

A 6-character string, containing one or more codes as shown in the table below:

Code

Meaning

N

Normal intensity

I

Invisible

R

Reverse video

S

Suppress data

H

High intensity

L

Italic

U

Underlined

T

Strikethrough

B

Blink

X

Inherit font attributes

Remarks

Meaningful combinations of display attributes are acceptable. Your terminal may not accept certain combinations.

The attributes S, L, and T are not applicable to windows.

See Also

WdgFont, WdgFontSize

Field WdgLabelPosition

The position of the label for this form field. The location of the label varies with the class and subclass of the form field (e.g., a push button’s label appears on the button); the label’s position within the assigned location is set by this attribute.

Valid Values

An integer code, as shown in the table below:

Code

Meaning

1

Top

2

Top right

3

Right

4

Bottom right

5

Bottom

6

Bottom left

7

Left

8

Top left

9

Centered

 

Field WdgEditOptions

Indicates the special editing options applicable to this combo box.

Valid Values

An integer code, as shown in the table below:

Code

Meaning

0

Default (normal operation)

1

Track prefix (in Combo-box form fields, automatically select the list item that matches the value entered)

2

Mandatory match (in Combo-box form fields, the value in the combo box must match an entry in the associated list)

3

Both Track and Mandatory

4

Autocomplete (If the end-user types a valid prefix of an item in the list, that list item is selected, and the remaining typing is completed automatically)

5

Both Track prefix and Autocomplete

6

Both Mandatory match and Autocomplete

7

All of Track prefix, Mandatory match, and Autocomplete

 

Field WdgPointerStyle

Pointer shape in a form field. Indicates the shape of the mouse pointer when it is positioned over the form field.

Valid Values

An integer code, as shown in the table below:

Code

Meaning

0

Class-specific

1

Arrow

2

Cross-hairs

3

I-beam

4

Icon (pre-set)

5

Resize

6

Size NE SW

7

Size N S

8

Size NW SE

9

Size W E

10

Up arrow

11

Hourglass

12

No drop

 

Field WdgAutoSize

“Autosize” status of an object. Indicates how windows and form fields that contain images are sized.

Valid Values

An integer code, as shown in the tables that follow.

For FormFields

Code

Meaning

0

No automatic sizing.  If the image is larger than the form field’s dimensions, then the image will be clipped at the right and bottom.  If the image is smaller, it will be centered.

1

Resize the image to fit the form field’s dimensions. The image may be disproportionately stretched and therefore degraded.

2

Resize the form field’s dimensions to fit the image.

3

Resize the image proportionally to fit within the form field’s dimensions. As with code 1, some image degradation may occur; however, it will be less drastic. The resulting image will always be equal to, or smaller than that produced by code 1.

For Windows

CODEMEANING

0No automatic sizing.  If the window is smaller than the form or display that is to appear within it, the form or display will be clipped at the right and bottom. If the window supports scroll bars, the scroll bars will appear to permit end-user scrolling to view the clipped portions of the form or display.

1Resize the window to fit the form or display.

en_CAEnglish