Form_Justification_Mode - DfBaseForm

Determines how data will be displayed

Type: Property

Access: Read/Write

Data Type: Integer

Parameters: Integer iItem

ParameterDescription
iItem (Optional)The item number (0 if omitted)


Syntax
 Property Integer Form_Justification_Mode

Read Access: Get Form_Justification_Mode [iItem] to IntegerVariable
Write Access: Set Form_Justification_Mode [iItem] to IntegerVariable/Value


Description

Form_Justification_Mode determines how data will be displayed. A different setting is supported for display when the form has the focus and when it does not.

Valid values:

ConstantMeaning
Form_DisplayLeft Form is displayed left justified
Form_DisplayRight Form is displayed right justified
Form_DisplayCenter Form is displayed centered
Form_EditLeft Form is displayed left justified for editing
Form_EditRight Form is displayed right justified for editing


The settings Form_DisplayLeft, Form_DisplayRight, and Form_DisplayCenter determine how a masked form appears when it is not the focus object. The form can be displayed in the left justified, centered, or right justified.

The settings Form_EditLeft and Form_EditRight determine where the data appears when the form has the focus and is being used for entry. The edit and display settings should be IORed together.

Set Form_Justification_Mode 0 to (Form_DisplayCenter IOR Form_EditLeft)

When Form_DataType is set to a masked type the display and edit justification modes are set to appropriate values. Masked number and currency forms display and edit to the right. Masked date and string forms appear and are edited to the left.

Notes