Skip to content

Form_Justification_Mode - DfBaseForm

Determines how data will be displayed

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Parameters

Parameter Type Description
iItem Integer

Syntax

Property Integer Form_Justification_Mode
Access Type Syntax
Read Access: Get Form_Justification_Mode to IntegerVariable
Write Access: Set Form_Justification_Mode 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:

Constant Meaning
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

Form_Justification_Mode has no effect on non-masked Form_DataTypes. Form_Justification_Mode is a design-time only property and thus cannot be changed Dynamically in a running program.