Skip to content

Field Properties - Common Tab - Horizontal Alignment

The data in an object can be shown as aligned to the left, to the right, in the center, or justified.

The setting can be specified via the 'Horizontal Alignment' combo-form or via the result of a function.

An example of a function to align the field is:

if ({OrderHeader.Order_Number} < 150) then
    return drHorzAlignmentLeft
else
    return drHorzAlignmentRight
end

The function should return one of the predefined Horizontal Alignment constants.