Skip to content

Field Properties - Common Tab - Vertical Alignment

The data in an object can be shown as aligned to the top, to the bottom, or in the center.

The setting can be specified via the Vertical 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 drVertAlignmentCenter
else
    return drVertAlignmentTop
end

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